github.com/goplus/gossa@v0.3.25/pkg/encoding/csv/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package csv 7 8 import ( 9 q "encoding/csv" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "csv", 19 Path: "encoding/csv", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "errors": "errors", 24 "fmt": "fmt", 25 "io": "io", 26 "strings": "strings", 27 "unicode": "unicode", 28 "unicode/utf8": "utf8", 29 }, 30 Interfaces: map[string]reflect.Type{}, 31 NamedTypes: map[string]gossa.NamedType{ 32 "ParseError": {reflect.TypeOf((*q.ParseError)(nil)).Elem(), "", "Error,Unwrap"}, 33 "Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "FieldPos,Read,ReadAll,readLine,readRecord"}, 34 "Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Error,Flush,Write,WriteAll,fieldNeedsQuotes"}, 35 }, 36 AliasTypes: map[string]reflect.Type{}, 37 Vars: map[string]reflect.Value{ 38 "ErrBareQuote": reflect.ValueOf(&q.ErrBareQuote), 39 "ErrFieldCount": reflect.ValueOf(&q.ErrFieldCount), 40 "ErrQuote": reflect.ValueOf(&q.ErrQuote), 41 "ErrTrailingComma": reflect.ValueOf(&q.ErrTrailingComma), 42 }, 43 Funcs: map[string]reflect.Value{ 44 "NewReader": reflect.ValueOf(q.NewReader), 45 "NewWriter": reflect.ValueOf(q.NewWriter), 46 }, 47 TypedConsts: map[string]gossa.TypedConst{}, 48 UntypedConsts: map[string]gossa.UntypedConst{}, 49 }) 50 }