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

Interface describer

examples/struct-embedding/struct-embedding.go:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 fmt.Println("describe:", co.describe())
51
52 type describer interface {
53 describe() string
54 }
55
56 // Embedding structs with methods may be used to bestow
57 // interface implementations onto other structs. Here

Callers 1

mainFunction · 0.95

Implementers 1

baseexamples/struct-embedding/struct-embed

Calls

no outgoing calls

Tested by

no test coverage detected