Files
yaegi/stdlib/go1_21_net_http_pprof.go
ee5ed52051 feat: support go1.22
* feat: support go1.22

* Temporary fix for consistency tests due to language change in for loops

* review: clean old files

---------

Co-authored-by: Fernandez Ludovic <[email protected]>
2024-03-05 17:56:04 +01:00

24 lines
573 B
Go

// Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT.
//go:build go1.21 && !go1.22
// +build go1.21,!go1.22
package stdlib
import (
"net/http/pprof"
"reflect"
)
func init() {
Symbols["net/http/pprof/pprof"] = map[string]reflect.Value{
// function, constant and variable definitions
"Cmdline": reflect.ValueOf(pprof.Cmdline),
"Handler": reflect.ValueOf(pprof.Handler),
"Index": reflect.ValueOf(pprof.Index),
"Profile": reflect.ValueOf(pprof.Profile),
"Symbol": reflect.ValueOf(pprof.Symbol),
"Trace": reflect.ValueOf(pprof.Trace),
}
}