github.com/goplus/igop@v0.25.0/pkg/encoding/csv/go114_export.go (about)

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