Documentation
¶
Index ¶
- func Clean(str string) string
- func CreateFile(fname string) error
- func DashedLine(n int) string
- func IsIn[T cmp.Ordered](element T, array []T) bool
- func Message(msg string, msgtype MessageType, newline bool, color ...ColorType)
- func PromptBool(msg string, def bool) (bool, error)
- func PromptString(msg string, def string) (string, error)
- type ColorType
- type HighlightType
- type MessageType
- type TextStyle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
func DashedLine ¶
Types ¶
type HighlightType ¶
type HighlightType = string
const ( HiStrike HighlightType = "\033[9m" HiReset HighlightType = "\033[0m" )
Click to show internal directories.
Click to hide internal directories.