github.com/goplus/igop@v0.25.0/pkg/mime/multipart/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package multipart
     6  
     7  import (
     8  	q "mime/multipart"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "multipart",
    18  		Path: "mime/multipart",
    19  		Deps: map[string]string{
    20  			"bufio":                "bufio",
    21  			"bytes":                "bytes",
    22  			"crypto/rand":          "rand",
    23  			"errors":               "errors",
    24  			"fmt":                  "fmt",
    25  			"io":                   "io",
    26  			"io/ioutil":            "ioutil",
    27  			"mime":                 "mime",
    28  			"mime/quotedprintable": "quotedprintable",
    29  			"net/textproto":        "textproto",
    30  			"os":                   "os",
    31  			"sort":                 "sort",
    32  			"strings":              "strings",
    33  		},
    34  		Interfaces: map[string]reflect.Type{
    35  			"File": reflect.TypeOf((*q.File)(nil)).Elem(),
    36  		},
    37  		NamedTypes: map[string]reflect.Type{
    38  			"FileHeader": reflect.TypeOf((*q.FileHeader)(nil)).Elem(),
    39  			"Form":       reflect.TypeOf((*q.Form)(nil)).Elem(),
    40  			"Part":       reflect.TypeOf((*q.Part)(nil)).Elem(),
    41  			"Reader":     reflect.TypeOf((*q.Reader)(nil)).Elem(),
    42  			"Writer":     reflect.TypeOf((*q.Writer)(nil)).Elem(),
    43  		},
    44  		AliasTypes: map[string]reflect.Type{},
    45  		Vars: map[string]reflect.Value{
    46  			"ErrMessageTooLarge": reflect.ValueOf(&q.ErrMessageTooLarge),
    47  		},
    48  		Funcs: map[string]reflect.Value{
    49  			"NewReader": reflect.ValueOf(q.NewReader),
    50  			"NewWriter": reflect.ValueOf(q.NewWriter),
    51  		},
    52  		TypedConsts:   map[string]igop.TypedConst{},
    53  		UntypedConsts: map[string]igop.UntypedConst{},
    54  	})
    55  }