Documentation ¶
Index ¶
- Constants
- func Blue(format string, v ...any)
- func BlueStr(format string, v ...any) string
- func Brown(format string, v ...any)
- func BrownStr(format string, v ...any) string
- func Cyan(format string, v ...any)
- func CyanStr(format string, v ...any) string
- func Gray(format string, v ...any)
- func GrayStr(format string, v ...any) string
- func Green(format string, v ...any)
- func GreenStr(format string, v ...any) string
- func Magenta(format string, v ...any)
- func MagentaStr(format string, v ...any) string
- func Orange(format string, v ...any)
- func OrangeStr(format string, v ...any) string
- func Pink(format string, v ...any)
- func PinkStr(format string, v ...any) string
- func PrintError(format string, v ...any)
- func PrintFatal(format string, v ...any)
- func PrintInfo(format string, v ...any)
- func PrintSuccess(format string, v ...any)
- func PrintWarning(format string, v ...any)
- func Red(format string, v ...any)
- func RedStr(format string, v ...any) string
- func Rose(format string, v ...any)
- func RoseStr(format string, v ...any) string
- func White(format string, v ...any)
- func WhiteStr(format string, v ...any) string
- func Yellow(format string, v ...any)
- func YellowStr(format string, v ...any) string
- type FadeColors
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func MagentaStr ¶
func PrintError ¶
func PrintFatal ¶
func PrintSuccess ¶
func PrintWarning ¶
Types ¶
type FadeColors ¶
type FadeColors struct { ColorA *colorful.Color ColorB *colorful.Color // contains filtered or unexported fields }
func NewFadeColors ¶
func NewFadeColors(content any) *FadeColors
func (*FadeColors) Println ¶
func (that *FadeColors) Println()
func (*FadeColors) SetDefaultRange ¶
func (that *FadeColors) SetDefaultRange()
func (*FadeColors) SetRange ¶
func (that *FadeColors) SetRange(colorA, colorB string)
func (*FadeColors) String ¶
func (that *FadeColors) String() string
Click to show internal directories.
Click to hide internal directories.