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