Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RearrangeFuncs ¶
RearrangeFuncs rearranges functions in src.
func SourceEx ¶
SourceEx formats src in canonical xgofmt style and returns the result or an (I/O or syntax) error. src is expected to be a syntactically correct XGo source file, or a list of XGo declarations or statements.
If src is a partial source file, the leading and trailing space of src is applied to the result (such that it has the same leading and trailing space as src), and the result is indented by the same amount as the first line of src containing code. Imports are not sorted for partial source files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.