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