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

Method genPackageMap

bind/gen.go:504–509  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502}
503
504func (g *pyGen) genPackageMap() {
505 g.pkgmap = make(map[string]struct{})
506 for _, p := range Packages {
507 g.pkgmap[p.pkg.Path()] = struct{}{}
508 }
509}
510
511func (g *pyGen) genPre() {
512 g.gofile = &printer{buf: new(bytes.Buffer), indentEach: []byte("\t")}

Callers 1

GenPyBindFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected