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

Function makeGoPackage

bind/stdtypes.go:17–21  ·  view source on GitHub ↗

makeGoPackage

()

Source from the content-addressed store, hash-verified

15
16// makeGoPackage
17func makeGoPackage() {
18 gopk := types.NewPackage("go", "go")
19 goPackage = &Package{pkg: gopk, syms: universe, objs: map[string]Object{}}
20 Packages = append(Packages, goPackage)
21}
22
23// addStdSliceMaps adds std Slice and Map types to universe
24func addStdSliceMaps() {

Callers 2

addStdSliceMapsFunction · 0.85
ResetPackagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected