github.com/goplus/igop@v0.25.0/pkg/debug/buildinfo/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 && !go1.21 4 // +build go1.20,!go1.21 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 "debug/plan9obj": "plan9obj", 26 "encoding/binary": "binary", 27 "errors": "errors", 28 "fmt": "fmt", 29 "internal/xcoff": "xcoff", 30 "io": "io", 31 "io/fs": "fs", 32 "os": "os", 33 "runtime/debug": "debug", 34 }, 35 Interfaces: map[string]reflect.Type{}, 36 NamedTypes: map[string]reflect.Type{}, 37 AliasTypes: map[string]reflect.Type{ 38 "BuildInfo": reflect.TypeOf((*q.BuildInfo)(nil)).Elem(), 39 }, 40 Vars: map[string]reflect.Value{}, 41 Funcs: map[string]reflect.Value{ 42 "Read": reflect.ValueOf(q.Read), 43 "ReadFile": reflect.ValueOf(q.ReadFile), 44 }, 45 TypedConsts: map[string]igop.TypedConst{}, 46 UntypedConsts: map[string]igop.UntypedConst{}, 47 }) 48 }