github.com/goplus/gossa@v0.3.25/pkg/net/mail/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 mail 7 8 import ( 9 q "net/mail" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "mail", 19 Path: "net/mail", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "errors": "errors", 23 "fmt": "fmt", 24 "io": "io", 25 "log": "log", 26 "mime": "mime", 27 "net/textproto": "textproto", 28 "strings": "strings", 29 "sync": "sync", 30 "time": "time", 31 "unicode/utf8": "utf8", 32 }, 33 Interfaces: map[string]reflect.Type{}, 34 NamedTypes: map[string]gossa.NamedType{ 35 "Address": {reflect.TypeOf((*q.Address)(nil)).Elem(), "", "String"}, 36 "AddressParser": {reflect.TypeOf((*q.AddressParser)(nil)).Elem(), "", "Parse,ParseList"}, 37 "Header": {reflect.TypeOf((*q.Header)(nil)).Elem(), "AddressList,Date,Get", ""}, 38 "Message": {reflect.TypeOf((*q.Message)(nil)).Elem(), "", ""}, 39 }, 40 AliasTypes: map[string]reflect.Type{}, 41 Vars: map[string]reflect.Value{ 42 "ErrHeaderNotPresent": reflect.ValueOf(&q.ErrHeaderNotPresent), 43 }, 44 Funcs: map[string]reflect.Value{ 45 "ParseAddress": reflect.ValueOf(q.ParseAddress), 46 "ParseAddressList": reflect.ValueOf(q.ParseAddressList), 47 "ParseDate": reflect.ValueOf(q.ParseDate), 48 "ReadMessage": reflect.ValueOf(q.ReadMessage), 49 }, 50 TypedConsts: map[string]gossa.TypedConst{}, 51 UntypedConsts: map[string]gossa.UntypedConst{}, 52 }) 53 }