Documentation
¶
Index ¶
- Variables
- func Error(format string, a ...any) string
- func GetBanner() string
- func Info(format string, a ...any) string
- func Success(format string, a ...any) string
- func Table(headers []string, rows [][]string) string
- func TruncateString(s string, maxLen int) string
- func Warn(format string, a ...any) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bold = lipgloss.NewStyle().Bold(true) Blue = lipgloss.NewStyle().Foreground(lipgloss.Blue) Green = lipgloss.NewStyle().Foreground(lipgloss.Green) Cyan = lipgloss.NewStyle().Foreground(lipgloss.Cyan) Red = lipgloss.NewStyle().Foreground(lipgloss.Red) Magenta = lipgloss.NewStyle().Foreground(lipgloss.Magenta) Yellow = lipgloss.NewStyle().Foreground(lipgloss.Yellow) Black = lipgloss.NewStyle().Foreground(lipgloss.BrightBlack) SuccessPrefix = Green.Render("[+]") InfoPrefix = Blue.Render("[i]") WarnPrefix = Yellow.Render("[*]") ErrorPrefix = Red.Render("[-]") )
Functions ¶
func TruncateString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.