Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶ added in v0.2.0
type Formatter struct { // PrintResult 用于格式化过程中,打印结果 PrintResult func(fileName string, change bool, err error) }
Formatter 代码格式化实例
func NewFormatter ¶ added in v0.2.0
func NewFormatter() *Formatter
NewFormatter 创建一个新的带默认格式化规则的格式化实例
Click to show internal directories.
Click to hide internal directories.