Documentation
¶
Index ¶
Constants ¶
View Source
const ( APP = "aligo" VER = "1.6.1" DESC = "Utility for viewing and checking Golang struct alignment" )
App info
View Source
const ( OPT_ARCH = "a:arch" OPT_STRUCT = "s:struct" OPT_TAGS = "t:tags" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Constants with options names
View Source
const MAX_TYPE_SIZE = 32
MAX_TYPE_SIZE maximum type size
Variables ¶
This section is empty.
Functions ¶
func PrintStruct ¶
PrintStruct prints info about struct
Types ¶
type Renderer ¶ added in v1.5.0
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶ added in v1.5.0
NewRenderer creates new filed info renderer
func (*Renderer) PrintField ¶ added in v1.5.0
PrintField prints field info
func (*Renderer) PrintPlaceholder ¶ added in v1.5.0
func (r *Renderer) PrintPlaceholder()
PrintPlaceholder prints placeholder
Click to show internal directories.
Click to hide internal directories.