Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assets ¶
func MustAssets ¶
func MustAssets() Assets
MustAssets returns the embedded wordmark asset bundle, loading it on first call via sync.Once. Panics if the embedded files are malformed — this is a compile-time-adjacent failure and should never happen in a correctly built binary.
type ColorMode ¶
type ColorMode string
func DetectColorMode ¶
func DetectColorMode(env Environment) ColorMode
DetectColorMode picks the richest color mode the environment advertises. Non-TTY or NO_COLOR=1 forces mono. COLORTERM containing "truecolor" or "24bit" selects truecolor. TERM containing "256color" selects 256. Else mono.
Click to show internal directories.
Click to hide internal directories.