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