mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <[email protected]>
29 lines
869 B
Go
29 lines
869 B
Go
// Code generated by 'yaegi extract net/mail'. DO NOT EDIT.
|
|
|
|
//go:build go1.21 && !go1.22
|
|
// +build go1.21,!go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"net/mail"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["net/mail/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)),
|
|
}
|
|
}
|