MCPcopy Index your code
hub / github.com/go-python/gopy / Struct

Struct Struct

bind/types.go:70–82  ·  view source on GitHub ↗

Struct collects information about a go struct.

Source from the content-addressed store, hash-verified

68
69// Struct collects information about a go struct.
70type Struct struct {
71 pkg *Package
72 sym *symbol
73 obj *types.TypeName
74
75 id string
76 doc string
77 ctors []*Func
78 meths []*Func
79 idx int // index position in list of structs
80
81 prots Protocol
82}
83
84func newStruct(p *Package, obj *types.TypeName) (*Struct, error) {
85 sym := p.syms.symtype(obj.Type())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected