Files
moxa/stdlib/go1_12_runtime_debug.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

33 lines
1.1 KiB
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports runtime/debug'. DO NOT EDIT.
import (
"reflect"
"runtime/debug"
)
func init() {
Value["runtime/debug"] = map[string]reflect.Value{
// function, constant and variable definitions
"FreeOSMemory": reflect.ValueOf(debug.FreeOSMemory),
"PrintStack": reflect.ValueOf(debug.PrintStack),
"ReadBuildInfo": reflect.ValueOf(debug.ReadBuildInfo),
"ReadGCStats": reflect.ValueOf(debug.ReadGCStats),
"SetGCPercent": reflect.ValueOf(debug.SetGCPercent),
"SetMaxStack": reflect.ValueOf(debug.SetMaxStack),
"SetMaxThreads": reflect.ValueOf(debug.SetMaxThreads),
"SetPanicOnFault": reflect.ValueOf(debug.SetPanicOnFault),
"SetTraceback": reflect.ValueOf(debug.SetTraceback),
"Stack": reflect.ValueOf(debug.Stack),
"WriteHeapDump": reflect.ValueOf(debug.WriteHeapDump),
// type definitions
"BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)),
"GCStats": reflect.ValueOf((*debug.GCStats)(nil)),
"Module": reflect.ValueOf((*debug.Module)(nil)),
}
}