github.com/goplus/gossa@v0.3.25/pkg/net/url/go116_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package url 6 7 import ( 8 q "net/url" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "url", 18 Path: "net/url", 19 Deps: map[string]string{ 20 "errors": "errors", 21 "fmt": "fmt", 22 "sort": "sort", 23 "strconv": "strconv", 24 "strings": "strings", 25 }, 26 Interfaces: map[string]reflect.Type{}, 27 NamedTypes: map[string]gossa.NamedType{ 28 "Error": {reflect.TypeOf((*q.Error)(nil)).Elem(), "", "Error,Temporary,Timeout,Unwrap"}, 29 "EscapeError": {reflect.TypeOf((*q.EscapeError)(nil)).Elem(), "Error", ""}, 30 "InvalidHostError": {reflect.TypeOf((*q.InvalidHostError)(nil)).Elem(), "Error", ""}, 31 "URL": {reflect.TypeOf((*q.URL)(nil)).Elem(), "", "EscapedFragment,EscapedPath,Hostname,IsAbs,MarshalBinary,Parse,Port,Query,Redacted,RequestURI,ResolveReference,String,UnmarshalBinary,setFragment,setPath"}, 32 "Userinfo": {reflect.TypeOf((*q.Userinfo)(nil)).Elem(), "", "Password,String,Username"}, 33 "Values": {reflect.TypeOf((*q.Values)(nil)).Elem(), "Add,Del,Encode,Get,Set", ""}, 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "Parse": reflect.ValueOf(q.Parse), 39 "ParseQuery": reflect.ValueOf(q.ParseQuery), 40 "ParseRequestURI": reflect.ValueOf(q.ParseRequestURI), 41 "PathEscape": reflect.ValueOf(q.PathEscape), 42 "PathUnescape": reflect.ValueOf(q.PathUnescape), 43 "QueryEscape": reflect.ValueOf(q.QueryEscape), 44 "QueryUnescape": reflect.ValueOf(q.QueryUnescape), 45 "User": reflect.ValueOf(q.User), 46 "UserPassword": reflect.ValueOf(q.UserPassword), 47 }, 48 TypedConsts: map[string]gossa.TypedConst{}, 49 UntypedConsts: map[string]gossa.UntypedConst{}, 50 }) 51 }