github.com/goplus/igop@v0.25.0/pkg/expvar/go119_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.19 && !go1.20 4 // +build go1.19,!go1.20 5 6 package expvar 7 8 import ( 9 q "expvar" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "expvar", 19 Path: "expvar", 20 Deps: map[string]string{ 21 "encoding/json": "json", 22 "fmt": "fmt", 23 "log": "log", 24 "math": "math", 25 "net/http": "http", 26 "os": "os", 27 "runtime": "runtime", 28 "sort": "sort", 29 "strconv": "strconv", 30 "strings": "strings", 31 "sync": "sync", 32 "sync/atomic": "atomic", 33 }, 34 Interfaces: map[string]reflect.Type{ 35 "Var": reflect.TypeOf((*q.Var)(nil)).Elem(), 36 }, 37 NamedTypes: map[string]reflect.Type{ 38 "Float": reflect.TypeOf((*q.Float)(nil)).Elem(), 39 "Func": reflect.TypeOf((*q.Func)(nil)).Elem(), 40 "Int": reflect.TypeOf((*q.Int)(nil)).Elem(), 41 "KeyValue": reflect.TypeOf((*q.KeyValue)(nil)).Elem(), 42 "Map": reflect.TypeOf((*q.Map)(nil)).Elem(), 43 "String": reflect.TypeOf((*q.String)(nil)).Elem(), 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{}, 47 Funcs: map[string]reflect.Value{ 48 "Do": reflect.ValueOf(q.Do), 49 "Get": reflect.ValueOf(q.Get), 50 "Handler": reflect.ValueOf(q.Handler), 51 "NewFloat": reflect.ValueOf(q.NewFloat), 52 "NewInt": reflect.ValueOf(q.NewInt), 53 "NewMap": reflect.ValueOf(q.NewMap), 54 "NewString": reflect.ValueOf(q.NewString), 55 "Publish": reflect.ValueOf(q.Publish), 56 }, 57 TypedConsts: map[string]igop.TypedConst{}, 58 UntypedConsts: map[string]igop.UntypedConst{}, 59 }) 60 }