github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_net_mail.go (about) 1 // Code generated by 'yaegi extract net/mail'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "net/mail" 9 "reflect" 10 ) 11 12 func init() { 13 Symbols["net/mail/mail"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "ErrHeaderNotPresent": reflect.ValueOf(&mail.ErrHeaderNotPresent).Elem(), 16 "ParseAddress": reflect.ValueOf(mail.ParseAddress), 17 "ParseAddressList": reflect.ValueOf(mail.ParseAddressList), 18 "ParseDate": reflect.ValueOf(mail.ParseDate), 19 "ReadMessage": reflect.ValueOf(mail.ReadMessage), 20 21 // type definitions 22 "Address": reflect.ValueOf((*mail.Address)(nil)), 23 "AddressParser": reflect.ValueOf((*mail.AddressParser)(nil)), 24 "Header": reflect.ValueOf((*mail.Header)(nil)), 25 "Message": reflect.ValueOf((*mail.Message)(nil)), 26 } 27 }