github.com/goplus/gossa@v0.3.25/pkg/mime/multipart/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package multipart 7 8 import ( 9 q "mime/multipart" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "multipart", 19 Path: "mime/multipart", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "crypto/rand": "rand", 24 "errors": "errors", 25 "fmt": "fmt", 26 "io": "io", 27 "math": "math", 28 "mime": "mime", 29 "mime/quotedprintable": "quotedprintable", 30 "net/textproto": "textproto", 31 "os": "os", 32 "path/filepath": "filepath", 33 "sort": "sort", 34 "strings": "strings", 35 }, 36 Interfaces: map[string]reflect.Type{ 37 "File": reflect.TypeOf((*q.File)(nil)).Elem(), 38 }, 39 NamedTypes: map[string]gossa.NamedType{ 40 "FileHeader": {reflect.TypeOf((*q.FileHeader)(nil)).Elem(), "", "Open"}, 41 "Form": {reflect.TypeOf((*q.Form)(nil)).Elem(), "", "RemoveAll"}, 42 "Part": {reflect.TypeOf((*q.Part)(nil)).Elem(), "", "Close,FileName,FormName,Read,parseContentDisposition,populateHeaders"}, 43 "Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "NextPart,NextRawPart,ReadForm,isBoundaryDelimiterLine,isFinalBoundary,nextPart,readForm"}, 44 "Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Boundary,Close,CreateFormField,CreateFormFile,CreatePart,FormDataContentType,SetBoundary,WriteField"}, 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{ 48 "ErrMessageTooLarge": reflect.ValueOf(&q.ErrMessageTooLarge), 49 }, 50 Funcs: map[string]reflect.Value{ 51 "NewReader": reflect.ValueOf(q.NewReader), 52 "NewWriter": reflect.ValueOf(q.NewWriter), 53 }, 54 TypedConsts: map[string]gossa.TypedConst{}, 55 UntypedConsts: map[string]gossa.UntypedConst{}, 56 }) 57 }