Versions in this module Expand all Collapse all v0 v0.1.1 Sep 2, 2024 Changes in this version + type CastingError struct + Err error + Field reflect.StructField + Value string + func (err *CastingError) Error() string type Decoder + IgnoreEmptyRecords bool + SkipLengthCheck bool + type InvalidInputError struct + Type reflect.Type + func (err *InvalidInputError) Error() string + type InvalidLengthError struct + Headers map[string][]int + HeadersLength int + Line string + LineNum int + func (err *InvalidLengthError) Error() string + type InvalidTypeError struct + Field reflect.StructField + func (err *InvalidTypeError) Error() string + type OverflowError struct + Field reflect.StructField + Value interface{} + func (err *OverflowError) Error() string v0.1.0 Aug 28, 2024 Changes in this version + var ErrIncorrectInputValue = errors.New("value is not a pointer to slice of structs or a pointer to a struct") + func Unmarshal(buf []byte, v interface{}) error + func UnmarshalReader(r io.Reader, v interface{}) error + type Decoder struct + FieldSeparator string + RecordTerminator []byte + SkipFirstRecord bool + func NewDecoder(r io.Reader) *Decoder + func (decoder *Decoder) Decode(v interface{}) error + func (decoder *Decoder) SetHeaders(headers map[string][]int) + type InvalidUnmarshalError struct + Type reflect.Type + func (err *InvalidUnmarshalError) Error() string