Documentation
¶
Index ¶
- func Bold(s string) string
- func ErrorMsg(format string, args ...any) string
- func FormatBytes(n uint64) string
- func FormatTime(t time.Time) string
- func FormatUptime(t time.Time) string
- func InfoMsg(format string, args ...any) string
- func RenderTable(headers []string, rows [][]string) string
- func ShortenPath(p string) string
- func StatusColor(status string) string
- func SuccessMsg(format string, args ...any) string
- func WarnMsg(format string, args ...any) string
- type Printer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBytes ¶
func FormatTime ¶
func FormatUptime ¶
func RenderTable ¶
RenderTable renders a table with Lip Gloss styling.
func ShortenPath ¶
ShortenPath replaces the home directory prefix with ~.
func StatusColor ¶
func SuccessMsg ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.