Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FuncMode should be set to remove empty lines in functions. FuncMode = 1 << iota // StructMode should be set to remove empty lines in structs. StructMode = 1 << iota // IfMode should be set to remove empty lines in if blocks. IfMode = 1 << iota // SwitchMode should be set to remove empty lines in functions. SwitchMode = 1 << iota // CaseMode should be set to remove empty lines in case blocks. CaseMode = 1 << iota // ForMode should be set to remove empty lines in for blocks. ForMode = 1 << iota // InterfaceMode should be set to remove empty lines in interface blocks. InterfaceMode = 1 << iota // BlockMode should be set to remove empty lines in blocks. BlockMode = 1 << iota // AllMode includes all modes. AllMode = FuncMode | StructMode | IfMode | SwitchMode | CaseMode | ForMode | InterfaceMode | BlockMode )
Variables ¶
View Source
var Debug = false
Debug enables/disables debug output.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.