Documentation ¶
Index ¶
- Variables
- func Marshal(obj interface{}) ([]byte, error)
- func MarshalString(obj interface{}) (string, error)
- func Read(r io.Reader, obj interface{}) error
- func Unmarshal(b []byte, obj interface{}) error
- func UnmarshalString(s string, obj interface{}) error
- func Write(w io.Writer, obj interface{}) error
- type Marshaler
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error is an error class for the package. Error = errs.Class("strictcsv") )
Functions ¶
func MarshalString ¶
MarshalString marshals an object into CSV and returns a string.
func UnmarshalString ¶
UnmarshalString unmarshals an object from a CSV string.
Types ¶
type Unmarshaler ¶
Unmarshaler is used to implement customized CSV field unmarshaling.
Click to show internal directories.
Click to hide internal directories.