github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_encoding_csv.go (about)

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