* update to go1.20 * lint * fix: ci --------- Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
31 lines
1.0 KiB
Go
31 lines
1.0 KiB
Go
// Code generated by 'yaegi extract runtime/metrics'. DO NOT EDIT.
|
|
|
|
//go:build go1.19 && !go1.20
|
|
// +build go1.19,!go1.20
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"reflect"
|
|
"runtime/metrics"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["runtime/metrics/metrics"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"All": reflect.ValueOf(metrics.All),
|
|
"KindBad": reflect.ValueOf(metrics.KindBad),
|
|
"KindFloat64": reflect.ValueOf(metrics.KindFloat64),
|
|
"KindFloat64Histogram": reflect.ValueOf(metrics.KindFloat64Histogram),
|
|
"KindUint64": reflect.ValueOf(metrics.KindUint64),
|
|
"Read": reflect.ValueOf(metrics.Read),
|
|
|
|
// type definitions
|
|
"Description": reflect.ValueOf((*metrics.Description)(nil)),
|
|
"Float64Histogram": reflect.ValueOf((*metrics.Float64Histogram)(nil)),
|
|
"Sample": reflect.ValueOf((*metrics.Sample)(nil)),
|
|
"Value": reflect.ValueOf((*metrics.Value)(nil)),
|
|
"ValueKind": reflect.ValueOf((*metrics.ValueKind)(nil)),
|
|
}
|
|
}
|