github.com/goplus/gossa@v0.3.25/pkg/mime/multipart/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package multipart 6 7 import ( 8 q "mime/multipart" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.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]gossa.NamedType{ 38 "FileHeader": {reflect.TypeOf((*q.FileHeader)(nil)).Elem(), "", "Open"}, 39 "Form": {reflect.TypeOf((*q.Form)(nil)).Elem(), "", "RemoveAll"}, 40 "Part": {reflect.TypeOf((*q.Part)(nil)).Elem(), "", "Close,FileName,FormName,Read,parseContentDisposition,populateHeaders"}, 41 "Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "NextPart,NextRawPart,ReadForm,isBoundaryDelimiterLine,isFinalBoundary,nextPart,readForm"}, 42 "Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Boundary,Close,CreateFormField,CreateFormFile,CreatePart,FormDataContentType,SetBoundary,WriteField"}, 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]gossa.TypedConst{}, 53 UntypedConsts: map[string]gossa.UntypedConst{}, 54 }) 55 }