MCPcopy Create free account
hub / github.com/mmcgrana/gobyexample / base

Struct base

examples/struct-embedding/struct-embedding.go:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import "fmt"
10
11type base struct {
12 num int
13}
14
15func (b base) describe() string {
16 return fmt.Sprintf("base with num=%v", b.num)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected