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

Struct container

examples/struct-embedding/struct-embedding.go:21–24  ·  view source on GitHub ↗

A `container` _embeds_ a `base`. An embedding looks like a field without a name.

Source from the content-addressed store, hash-verified

19// A `container` _embeds_ a `base`. An embedding looks
20// like a field without a name.
21type container struct {
22 base
23 str string
24}
25
26func main() {
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected