Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶
type Marshaller interface { Headers() []string Encode(w *csv.Writer, val any, nilValue string) error }
A Marshaller marshals objects into CSV format.
func NewMarshaller ¶
func NewMarshaller(typ reflect.Type) (Marshaller, error)
NewMarshaller creates a marshaller for the given type.
Click to show internal directories.
Click to hide internal directories.