Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVMarshaler ¶
type CSVMarshaler[T any] struct { // contains filtered or unexported fields }
func NewCSVMarshaler ¶
func NewCSVMarshaler[T any](w *csv.Writer) (*CSVMarshaler[T], error)
func NewMarshaler ¶
func NewMarshaler[T any](w io.Writer) (*CSVMarshaler[T], error)
func (*CSVMarshaler[T]) Flush ¶
func (m *CSVMarshaler[T]) Flush() error
func (*CSVMarshaler[T]) Marshal ¶
func (m *CSVMarshaler[T]) Marshal(record T) error
type CSVUnmarshaler ¶
type CSVUnmarshaler[T any] struct { // contains filtered or unexported fields }
func NewCSVUnmarshaler ¶
func NewCSVUnmarshaler[T any](r *csv.Reader) (*CSVUnmarshaler[T], error)
func NewUnmarshaler ¶
func NewUnmarshaler[T any](r io.Reader) (*CSVUnmarshaler[T], error)
func (*CSVUnmarshaler[T]) Unmarshal ¶
func (um *CSVUnmarshaler[T]) Unmarshal(record *T) error
Click to show internal directories.
Click to hide internal directories.