Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArrayClose = ']' ArrayOpen = '[' ArraySeparator = ',' Colon = ':' // keywords in a signature are separated by a colon Dash = '-' // values in a sequence are prefixed by a dash ( and whitespace ) Eof = -1 Escape = '\\' Hash = '#' // comment marker HTab = '\t' // invalid outside of strings or comments. KeyValue = '\r' // in comment blocks, replaces both the key and the value. Newline = '\n' NextTerm = '\f' // form feed is used to separate comment entries QuoteDouble = '"' // double quotes QuotePipe = '|' // a nod towards yaml compatibility QuoteRaw = '`' // back tick QuoteSingle = '\'' // single quotes Redirect = '<' // for closing tags Space = ' ' Underscore = '_' // valid in words between colons )
Variables ¶
This section is empty.
Functions ¶
func IsWhitespace ¶
func WriteRunes ¶
func WriteRunes(w RuneWriter, qs ...rune)
func WriteString ¶
func WriteString(w RuneWriter, str string) (ret int, _ error)
Types ¶
type RuneWriter ¶
func WriterToRunes ¶
func WriterToRunes(w io.Writer) (ret RuneWriter)
turn a writer into a rune writer first attempts to cast, otherwise builds an adapter for the output
Click to show internal directories.
Click to hide internal directories.