github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_encoding_csv.go (about)

     1  // Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"encoding/csv"
     9  	"reflect"
    10  )
    11  
    12  func init() {
    13  	Symbols["encoding/csv/csv"] = map[string]reflect.Value{
    14  		// function, constant and variable definitions
    15  		"ErrBareQuote":     reflect.ValueOf(&csv.ErrBareQuote).Elem(),
    16  		"ErrFieldCount":    reflect.ValueOf(&csv.ErrFieldCount).Elem(),
    17  		"ErrQuote":         reflect.ValueOf(&csv.ErrQuote).Elem(),
    18  		"ErrTrailingComma": reflect.ValueOf(&csv.ErrTrailingComma).Elem(),
    19  		"NewReader":        reflect.ValueOf(csv.NewReader),
    20  		"NewWriter":        reflect.ValueOf(csv.NewWriter),
    21  
    22  		// type definitions
    23  		"ParseError": reflect.ValueOf((*csv.ParseError)(nil)),
    24  		"Reader":     reflect.ValueOf((*csv.Reader)(nil)),
    25  		"Writer":     reflect.ValueOf((*csv.Writer)(nil)),
    26  	}
    27  }