github.com/goplus/igop@v0.17.0/pkg/net/http/httptest/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package httptest 6 7 import ( 8 q "net/http/httptest" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "httptest", 19 Path: "net/http/httptest", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "crypto/tls": "tls", 24 "crypto/x509": "x509", 25 "flag": "flag", 26 "fmt": "fmt", 27 "io": "io", 28 "io/ioutil": "ioutil", 29 "log": "log", 30 "net": "net", 31 "net/http": "http", 32 "net/http/internal": "internal", 33 "net/textproto": "textproto", 34 "os": "os", 35 "strconv": "strconv", 36 "strings": "strings", 37 "sync": "sync", 38 "time": "time", 39 "vendor/golang.org/x/net/http/httpguts": "httpguts", 40 }, 41 Interfaces: map[string]reflect.Type{}, 42 NamedTypes: map[string]reflect.Type{ 43 "ResponseRecorder": reflect.TypeOf((*q.ResponseRecorder)(nil)).Elem(), 44 "Server": reflect.TypeOf((*q.Server)(nil)).Elem(), 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{}, 48 Funcs: map[string]reflect.Value{ 49 "NewRecorder": reflect.ValueOf(q.NewRecorder), 50 "NewRequest": reflect.ValueOf(q.NewRequest), 51 "NewServer": reflect.ValueOf(q.NewServer), 52 "NewTLSServer": reflect.ValueOf(q.NewTLSServer), 53 "NewUnstartedServer": reflect.ValueOf(q.NewUnstartedServer), 54 }, 55 TypedConsts: map[string]igop.TypedConst{}, 56 UntypedConsts: map[string]igop.UntypedConst{ 57 "DefaultRemoteAddr": {"untyped string", constant.MakeString(string(q.DefaultRemoteAddr))}, 58 }, 59 }) 60 }