Documentation
¶
Index ¶
Constants ¶
View Source
const ( DepthTitle = "title" DepthCompact = "compact" DepthSummary = "summary" DepthFull = "full" )
Depth levels for progressive disclosure.
Variables ¶
View Source
var ValidDepths = []string{DepthTitle, DepthCompact, DepthSummary, DepthFull}
ValidDepths lists all valid depth values.
Functions ¶
func SetVersionInfo ¶
func SetVersionInfo(version, commit, date string)
SetVersionInfo sets version info from main (populated via ldflags)
Types ¶
Click to show internal directories.
Click to hide internal directories.