github.com/goplus/igop@v0.25.0/pkg/runtime/debug/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 5 6 package debug 7 8 import ( 9 q "runtime/debug" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "debug", 19 Path: "runtime/debug", 20 Deps: map[string]string{ 21 "fmt": "fmt", 22 "os": "os", 23 "runtime": "runtime", 24 "sort": "sort", 25 "strconv": "strconv", 26 "strings": "strings", 27 "time": "time", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]reflect.Type{ 31 "BuildInfo": reflect.TypeOf((*q.BuildInfo)(nil)).Elem(), 32 "BuildSetting": reflect.TypeOf((*q.BuildSetting)(nil)).Elem(), 33 "GCStats": reflect.TypeOf((*q.GCStats)(nil)).Elem(), 34 "Module": reflect.TypeOf((*q.Module)(nil)).Elem(), 35 }, 36 AliasTypes: map[string]reflect.Type{}, 37 Vars: map[string]reflect.Value{}, 38 Funcs: map[string]reflect.Value{ 39 "FreeOSMemory": reflect.ValueOf(q.FreeOSMemory), 40 "ParseBuildInfo": reflect.ValueOf(q.ParseBuildInfo), 41 "PrintStack": reflect.ValueOf(q.PrintStack), 42 "ReadBuildInfo": reflect.ValueOf(q.ReadBuildInfo), 43 "ReadGCStats": reflect.ValueOf(q.ReadGCStats), 44 "SetGCPercent": reflect.ValueOf(q.SetGCPercent), 45 "SetMaxStack": reflect.ValueOf(q.SetMaxStack), 46 "SetMaxThreads": reflect.ValueOf(q.SetMaxThreads), 47 "SetMemoryLimit": reflect.ValueOf(q.SetMemoryLimit), 48 "SetPanicOnFault": reflect.ValueOf(q.SetPanicOnFault), 49 "SetTraceback": reflect.ValueOf(q.SetTraceback), 50 "Stack": reflect.ValueOf(q.Stack), 51 "WriteHeapDump": reflect.ValueOf(q.WriteHeapDump), 52 }, 53 TypedConsts: map[string]igop.TypedConst{}, 54 UntypedConsts: map[string]igop.UntypedConst{}, 55 }) 56 }