github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_17_net_http_pprof.go (about)

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