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