github.com/goplus/gossa@v0.3.25/pkg/debug/buildinfo/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package buildinfo 7 8 import ( 9 q "debug/buildinfo" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.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]gossa.NamedType{}, 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]gossa.TypedConst{}, 45 UntypedConsts: map[string]gossa.UntypedConst{}, 46 }) 47 }