github.com/goplus/igop@v0.25.0/pkg/debug/buildinfo/go118_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.18 && !go1.19 4 // +build go1.18,!go1.19 5 6 package buildinfo 7 8 import ( 9 q "debug/buildinfo" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "buildinfo", 19 Path: "debug/buildinfo", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "debug/elf": "elf", 23 "debug/macho": "macho", 24 "debug/pe": "pe", 25 "encoding/binary": "binary", 26 "errors": "errors", 27 "fmt": "fmt", 28 "internal/xcoff": "xcoff", 29 "io": "io", 30 "io/fs": "fs", 31 "os": "os", 32 "runtime/debug": "debug", 33 }, 34 Interfaces: map[string]reflect.Type{}, 35 NamedTypes: map[string]reflect.Type{}, 36 AliasTypes: map[string]reflect.Type{ 37 "BuildInfo": reflect.TypeOf((*q.BuildInfo)(nil)).Elem(), 38 }, 39 Vars: map[string]reflect.Value{}, 40 Funcs: map[string]reflect.Value{ 41 "Read": reflect.ValueOf(q.Read), 42 "ReadFile": reflect.ValueOf(q.ReadFile), 43 }, 44 TypedConsts: map[string]igop.TypedConst{}, 45 UntypedConsts: map[string]igop.UntypedConst{}, 46 }) 47 }