Documentation
¶
Index ¶
Constants ¶
View Source
const DateTimeFormat = "Jan 2, 2006 at 15:04"
DateTimeFormat is the standard human-friendly date format for CLI output.
Variables ¶
This section is empty.
Functions ¶
func ErrorWriter ¶
ErrorWriter returns the stderr writer for error output.
func FormatVersion ¶
FormatVersion normalizes a version string with a single leading 'v'.
func NewTableWriter ¶
NewTableWriter returns a tabwriter for stdout with consistent spacing.
func SetWriters ¶
SetWriters overrides the output writers (useful for tests).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.