Documentation ¶
Index ¶
- Variables
- func Bold(s string) string
- func BoldFmt() pretty.Formatter
- func Code(s string) string
- func Color(s string) termenv.Color
- func Field(s string) string
- func Keyword(s string) string
- func Placeholder(s string) string
- func Timestamp(t time.Time) string
- func ValidateNotEmpty(s string) error
- func Wrap(s string) string
- type Styles
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Green = Color("#04B575") Red = Color("#ED567A") Fuchsia = Color("#EE6FF8") Yellow = Color("#ECFD65") Blue = Color("#5000ff") )
View Source
var Canceled = xerrors.New("canceled")
Functions ¶
func ValidateNotEmpty ¶
ValidateNotEmpty is a helper function to disallow empty inputs!
Types ¶
Click to show internal directories.
Click to hide internal directories.