github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_16_net_http_pprof.go (about)

     1  // Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"net/http/pprof"
     9  	"reflect"
    10  )
    11  
    12  func init() {
    13  	Symbols["net/http/pprof/pprof"] = map[string]reflect.Value{
    14  		// function, constant and variable definitions
    15  		"Cmdline": reflect.ValueOf(pprof.Cmdline),
    16  		"Handler": reflect.ValueOf(pprof.Handler),
    17  		"Index":   reflect.ValueOf(pprof.Index),
    18  		"Profile": reflect.ValueOf(pprof.Profile),
    19  		"Symbol":  reflect.ValueOf(pprof.Symbol),
    20  		"Trace":   reflect.ValueOf(pprof.Trace),
    21  	}
    22  }