Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "unknown" //nolint:gochecknoglobals Commit = "unknown" //nolint:gochecknoglobals )
These will be set at build time with ldflags, see Justfile for how they're defined and passed.
Functions ¶
func CLIExample ¶
CLIExample is a helper for generating CLI example docs for cobra commands. It removes any surrounding space from a string, then removes any leading whitespace from each line in the string. Any comments in the string will be colored as faint.
func VersionString ¶
func VersionString() string
Types ¶
type LogAdapter ¶
type Variable ¶
type Variable[T comparable] struct { // contains filtered or unexported fields }
func NewVariable ¶
func NewVariable[T comparable](name string, values ...T) Variable[T]
Click to show internal directories.
Click to hide internal directories.