github.com/goplus/igop@v0.25.0/pkg/net/mail/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package mail
     6  
     7  import (
     8  	q "net/mail"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.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]reflect.Type{
    34  			"Address":       reflect.TypeOf((*q.Address)(nil)).Elem(),
    35  			"AddressParser": reflect.TypeOf((*q.AddressParser)(nil)).Elem(),
    36  			"Header":        reflect.TypeOf((*q.Header)(nil)).Elem(),
    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]igop.TypedConst{},
    50  		UntypedConsts: map[string]igop.UntypedConst{},
    51  	})
    52  }