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

Method addStruct

bind/package.go:591–595  ·  view source on GitHub ↗
(s *Struct)

Source from the content-addressed store, hash-verified

589}
590
591func (p *Package) addStruct(s *Struct) {
592 p.structs = append(p.structs, s)
593 s.idx = len(p.structs) - 1
594 p.objs[s.GoName()] = s
595}
596
597func (p *Package) addInterface(ifc *Interface) {
598 p.ifaces = append(p.ifaces, ifc)

Callers 1

processMethod · 0.95

Calls 1

GoNameMethod · 0.65

Tested by

no test coverage detected