Versions in this module Expand all Collapse all v0 v0.1.0 Apr 20, 2026 Changes in this version + const CommentPrefix + const FieldSep + const RowSep + const Version + var Tag = fmt.Sprintf("GCX%d", Version) + func EncodeAny(w io.Writer, tool string, v any) error + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (d *Decoder) All() ([]map[string]string, error) + func (d *Decoder) Header() (Header, error) + func (d *Decoder) NextRow() (map[string]string, error) + func (d *Decoder) NextSection() (Header, error) + type Encoder struct + func NewEncoder(w io.Writer, h Header) *Encoder + func (e *Encoder) Close() error + func (e *Encoder) Fields() []string + func (e *Encoder) Tool() string + func (e *Encoder) WriteComment(s string) error + func (e *Encoder) WriteRow(values ...any) error + type Format int + const FormatGCX + const FormatJSON + const FormatText + func ParseFormat(s string) Format + func (f Format) String() string + type Header struct + Fields []string + Meta map[string]string + Tool string + Version int