Documentation
¶
Overview ¶
Package toon implements low-level helpers for the TOON (Token-Oriented Object Notation) text format. Concrete renderers in individual tools (xref, history, ...) compose these primitives to emit their own schema. The format itself is documented at https://github.com/toon-format/toon.
Index ¶
Constants ¶
View Source
const Indent = " "
Variables ¶
This section is empty.
Functions ¶
func JoinList ¶
JoinList renders []string as a comma-separated TOON inline list with per-item quoting. Empty slices return an empty string.
func NeedsQuote ¶
NeedsQuote reports whether s contains any byte that would clash with TOON's structural characters (or leading/trailing whitespace).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.