github.com/goplus/igop@v0.17.0/pkg/net/http/httptest/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 4 // +build go1.20 5 6 package httptest 7 8 import ( 9 q "net/http/httptest" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "httptest", 20 Path: "net/http/httptest", 21 Deps: map[string]string{ 22 "bufio": "bufio", 23 "bytes": "bytes", 24 "crypto/tls": "tls", 25 "crypto/x509": "x509", 26 "flag": "flag", 27 "fmt": "fmt", 28 "io": "io", 29 "log": "log", 30 "net": "net", 31 "net/http": "http", 32 "net/http/internal/testcert": "testcert", 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 }