github.com/goplus/gossa@v0.3.25/pkg/net/http/cookiejar/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package cookiejar 7 8 import ( 9 q "net/http/cookiejar" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "cookiejar", 19 Path: "net/http/cookiejar", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "fmt": "fmt", 23 "net": "net", 24 "net/http": "http", 25 "net/http/internal/ascii": "ascii", 26 "net/url": "url", 27 "sort": "sort", 28 "strings": "strings", 29 "sync": "sync", 30 "time": "time", 31 "unicode/utf8": "utf8", 32 }, 33 Interfaces: map[string]reflect.Type{ 34 "PublicSuffixList": reflect.TypeOf((*q.PublicSuffixList)(nil)).Elem(), 35 }, 36 NamedTypes: map[string]gossa.NamedType{ 37 "Jar": {reflect.TypeOf((*q.Jar)(nil)).Elem(), "", "Cookies,SetCookies,cookies,domainAndType,newEntry,setCookies"}, 38 "Options": {reflect.TypeOf((*q.Options)(nil)).Elem(), "", ""}, 39 }, 40 AliasTypes: map[string]reflect.Type{}, 41 Vars: map[string]reflect.Value{}, 42 Funcs: map[string]reflect.Value{ 43 "New": reflect.ValueOf(q.New), 44 }, 45 TypedConsts: map[string]gossa.TypedConst{}, 46 UntypedConsts: map[string]gossa.UntypedConst{}, 47 }) 48 }