Documentation ¶
Overview ¶
Package minformat implements Go source code minification routines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Node ¶
Node formats node by removing as much whitespace as possible and writes the result to w.
Result contains no comments.
The node type is defined as interface{} for compatibility with go/format.Node function. Only ast.Node types are supported right now.
The function may return early (before the entire result is written) and return a formatting error, for instance due to an incorrect AST.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.