Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LiteralValue ¶ added in v1.5.0
type LiteralValue struct {
Value string
}
type Writer ¶
type Writer interface { Flush() error Bytes() ([]byte, error) WriteTagValue(name string, value any) Writer WriteTagStart(name string) Writer WriteTagEnd() Writer WritePathStart(context string, path string) Writer WriteItem(value any) Writer WriteItemValue(name string, value any) Writer WriteItemStart(name string, value any) Writer // WriteLines writes the provided lines (current indent is added to each line) WriteLines(lines ...string) Writer // Write writes the provided data (no indent is added - and data must include indents!) Write(data []byte) Writer CurrentIndent() string SetError(err error) Errored() error }
Click to show internal directories.
Click to hide internal directories.