Files
moxa/stdlib/go1_15_runtime_trace.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

29 lines
782 B
Go

// Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"reflect"
"runtime/trace"
)
func init() {
Symbols["runtime/trace"] = map[string]reflect.Value{
// function, constant and variable definitions
"IsEnabled": reflect.ValueOf(trace.IsEnabled),
"Log": reflect.ValueOf(trace.Log),
"Logf": reflect.ValueOf(trace.Logf),
"NewTask": reflect.ValueOf(trace.NewTask),
"Start": reflect.ValueOf(trace.Start),
"StartRegion": reflect.ValueOf(trace.StartRegion),
"Stop": reflect.ValueOf(trace.Stop),
"WithRegion": reflect.ValueOf(trace.WithRegion),
// type definitions
"Region": reflect.ValueOf((*trace.Region)(nil)),
"Task": reflect.ValueOf((*trace.Task)(nil)),
}
}