Files
moxa/stdlib/go1_14_net_mail.go
mpl e5a7b0de11 extract: new package to extract symbols from a dependency
cmd/goexports is now based on it.

Updates #639 

Co-authored-by: Marc Vertes <mvertes@free.fr>
2020-07-23 10:58:33 +02:00

28 lines
857 B
Go

// Code generated by 'github.com/containous/yaegi/extract net/mail'. DO NOT EDIT.
// +build go1.14,!go1.15
package stdlib
import (
"net/mail"
"reflect"
)
func init() {
Symbols["net/mail"] = map[string]reflect.Value{
// function, constant and variable definitions
"ErrHeaderNotPresent": reflect.ValueOf(&mail.ErrHeaderNotPresent).Elem(),
"ParseAddress": reflect.ValueOf(mail.ParseAddress),
"ParseAddressList": reflect.ValueOf(mail.ParseAddressList),
"ParseDate": reflect.ValueOf(mail.ParseDate),
"ReadMessage": reflect.ValueOf(mail.ReadMessage),
// type definitions
"Address": reflect.ValueOf((*mail.Address)(nil)),
"AddressParser": reflect.ValueOf((*mail.AddressParser)(nil)),
"Header": reflect.ValueOf((*mail.Header)(nil)),
"Message": reflect.ValueOf((*mail.Message)(nil)),
}
}