Documentation
¶
Index ¶
- Variables
- func Bar(fraction float64) string
- func Bytes(b int64) string
- func Clip(s string, width int) string
- func Expiry(t time.Time) string
- func FirstLine(s string) string
- func Fit(body string, n int) string
- func Flush(left, right string, width int) string
- func Indent(s string) string
- func Pad(s string, w int) string
- func Sanitize(s string, emoji bool) string
- func Segment(s string, active bool) string
- func Since(t time.Time) string
- func Uptime(d time.Duration) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Title = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("4")) Accent = lipgloss.NewStyle().Foreground(lipgloss.Color("6")) Strong = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("6")) Name = lipgloss.NewStyle().Bold(true) Dim = lipgloss.NewStyle().Foreground(lipgloss.Color("8")) Err = lipgloss.NewStyle().Foreground(red) Alive = lipgloss.NewStyle().Foreground(green) Dead = lipgloss.NewStyle().Foreground(red) Pending = lipgloss.NewStyle().Foreground(yellow) Unknown = lipgloss.NewStyle().Foreground(gray) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.