Documentation
¶
Overview ¶
Package format normalizes bork source whitespace without changing its layout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Files ¶
Files formats .bork files and recursively visits directories. An empty path list means the current directory. In check mode no files are written. The returned paths identify files that differ from the canonical format.
func Source ¶
Source formats one file. Existing line breaks are retained, blank-line runs become one blank line, and nested delimiters use two spaces. Comments, literals, interpolations and unsafe Go bodies retain their exact text, except CRLF line comment endings become LF. Lexically invalid input is rejected; incomplete or ill-typed programs, including reserved compiler identifiers, can still be formatted.
Types ¶
This section is empty.