Versions in this module Expand all Collapse all v0 v0.1.1 Jun 27, 2022 v0.1.0 Jun 14, 2022 Changes in this version + func Marshal(v any) ([]byte, error) + func ReadString(s string, opts ...ReaderOption) ([][]string, error) + func Unmarshal(data []byte, v any) error + type InvalidScannerOptionError struct + func (e *InvalidScannerOptionError) Error() string + func (e *InvalidScannerOptionError) Unwrap() error + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type MarshalError struct + func (e *MarshalError) Error() string + func (e *MarshalError) Unwrap() error + type Reader struct + func NewReader(r io.Reader, opts ...ReaderOption) (*Reader, error) + func (r *Reader) Read() ([]string, error) + func (r *Reader) ReadAll() (tuples [][]string, err error) + type ReaderOption func(*readerOptions) + func WithFieldsDelimiter(d rune) ReaderOption + func WithKeyValueDelimiter(d rune) ReaderOption + type ScannerError struct + func (e *ScannerError) Error() string + func (e *ScannerError) Unwrap() error + type UnmarshalError struct + Err error + Type reflect.Type + Value string + func (e *UnmarshalError) Error() string + func (e *UnmarshalError) Unwrap() error + type UnmarshalUnsupportedTypeError struct + Type reflect.Type + func (e *UnmarshalUnsupportedTypeError) Error() string