github.com/goplus/igop@v0.17.0/pkg/net/http/pprof/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package pprof
     6  
     7  import (
     8  	q "net/http/pprof"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "pprof",
    18  		Path: "net/http/pprof",
    19  		Deps: map[string]string{
    20  			"bufio":         "bufio",
    21  			"bytes":         "bytes",
    22  			"fmt":           "fmt",
    23  			"html/template": "template",
    24  			"io":            "io",
    25  			"log":           "log",
    26  			"net/http":      "http",
    27  			"os":            "os",
    28  			"runtime":       "runtime",
    29  			"runtime/pprof": "pprof",
    30  			"runtime/trace": "trace",
    31  			"sort":          "sort",
    32  			"strconv":       "strconv",
    33  			"strings":       "strings",
    34  			"time":          "time",
    35  		},
    36  		Interfaces: map[string]reflect.Type{},
    37  		NamedTypes: map[string]reflect.Type{},
    38  		AliasTypes: map[string]reflect.Type{},
    39  		Vars:       map[string]reflect.Value{},
    40  		Funcs: map[string]reflect.Value{
    41  			"Cmdline": reflect.ValueOf(q.Cmdline),
    42  			"Handler": reflect.ValueOf(q.Handler),
    43  			"Index":   reflect.ValueOf(q.Index),
    44  			"Profile": reflect.ValueOf(q.Profile),
    45  			"Symbol":  reflect.ValueOf(q.Symbol),
    46  			"Trace":   reflect.ValueOf(q.Trace),
    47  		},
    48  		TypedConsts:   map[string]igop.TypedConst{},
    49  		UntypedConsts: map[string]igop.UntypedConst{},
    50  	})
    51  }