github.com/goplus/gossa@v0.3.25/pkg/debug/plan9obj/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package plan9obj 6 7 import ( 8 q "debug/plan9obj" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "plan9obj", 19 Path: "debug/plan9obj", 20 Deps: map[string]string{ 21 "encoding/binary": "binary", 22 "errors": "errors", 23 "fmt": "fmt", 24 "io": "io", 25 "os": "os", 26 }, 27 Interfaces: map[string]reflect.Type{}, 28 NamedTypes: map[string]gossa.NamedType{ 29 "File": {reflect.TypeOf((*q.File)(nil)).Elem(), "", "Close,Section,Symbols"}, 30 "FileHeader": {reflect.TypeOf((*q.FileHeader)(nil)).Elem(), "", ""}, 31 "Section": {reflect.TypeOf((*q.Section)(nil)).Elem(), "", "Data,Open"}, 32 "SectionHeader": {reflect.TypeOf((*q.SectionHeader)(nil)).Elem(), "", ""}, 33 "Sym": {reflect.TypeOf((*q.Sym)(nil)).Elem(), "", ""}, 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "NewFile": reflect.ValueOf(q.NewFile), 39 "Open": reflect.ValueOf(q.Open), 40 }, 41 TypedConsts: map[string]gossa.TypedConst{}, 42 UntypedConsts: map[string]gossa.UntypedConst{ 43 "Magic386": {"untyped int", constant.MakeInt64(int64(q.Magic386))}, 44 "Magic64": {"untyped int", constant.MakeInt64(int64(q.Magic64))}, 45 "MagicAMD64": {"untyped int", constant.MakeInt64(int64(q.MagicAMD64))}, 46 "MagicARM": {"untyped int", constant.MakeInt64(int64(q.MagicARM))}, 47 }, 48 }) 49 }