Documentation ¶ Overview ¶ Package toml encoder/decoder Index ¶ type Encoder func NewEncoder(req any) *Encoder func (e *Encoder) GetFormatInstructions() string func (e *Encoder) Marshal(v any) ([]byte, error) func (e *Encoder) Unmarshal(bs []byte, ret any) error func (e *Encoder) Validate(req any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Encoder ¶ type Encoder struct { // contains filtered or unexported fields } func NewEncoder ¶ func NewEncoder(req any) *Encoder func (*Encoder) GetFormatInstructions ¶ func (e *Encoder) GetFormatInstructions() string func (*Encoder) Marshal ¶ func (e *Encoder) Marshal(v any) ([]byte, error) func (*Encoder) Unmarshal ¶ func (e *Encoder) Unmarshal(bs []byte, ret any) error func (*Encoder) Validate ¶ func (e *Encoder) Validate(req any) error Source Files ¶ View all Source files doc.goencoder.go Click to show internal directories. Click to hide internal directories.