MCPcopy Create free account
hub / github.com/go-python/gopy / addFunc

Method addFunc

bind/package.go:612–615  ·  view source on GitHub ↗
(f *Func)

Source from the content-addressed store, hash-verified

610}
611
612func (p *Package) addFunc(f *Func) {
613 p.funcs = append(p.funcs, f)
614 p.objs[f.GoName()] = f
615}
616
617// Lookup returns the bind.Object corresponding to a types.Object
618func (p *Package) Lookup(o types.Object) (Object, bool) {

Callers 1

processMethod · 0.95

Calls 1

GoNameMethod · 0.65

Tested by

no test coverage detected