Files
yaegi/stdlib/go1_22_encoding_csv.go
T
Marc VertesandFernandez Ludovic 0a5b16cad6 feat: support go1.22
* feat: support go1.22

* Temporary fix for consistency tests due to language change in for loops

* review: clean old files

---------

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-03-05 17:56:04 +01:00

29 lines
836 B
Go

// Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package stdlib
import (
"encoding/csv"
"reflect"
)
func init() {
Symbols["encoding/csv/csv"] = map[string]reflect.Value{
// function, constant and variable definitions
"ErrBareQuote": reflect.ValueOf(&csv.ErrBareQuote).Elem(),
"ErrFieldCount": reflect.ValueOf(&csv.ErrFieldCount).Elem(),
"ErrQuote": reflect.ValueOf(&csv.ErrQuote).Elem(),
"ErrTrailingComma": reflect.ValueOf(&csv.ErrTrailingComma).Elem(),
"NewReader": reflect.ValueOf(csv.NewReader),
"NewWriter": reflect.ValueOf(csv.NewWriter),
// type definitions
"ParseError": reflect.ValueOf((*csv.ParseError)(nil)),
"Reader": reflect.ValueOf((*csv.Reader)(nil)),
"Writer": reflect.ValueOf((*csv.Writer)(nil)),
}
}