package
Version:
v0.7.12
Opens a new window with list of versions in this module.
Published: Apr 9, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetColored(isColored bool)
SetColored set all colors to default, if colored == false.
Color implementation.
const (
Default Color = iota
Green
Red
Yellow
White
Blue
Cyan
Magenta
LightWhite
LightRed
Purple
DefaultBold
GreenBold
RedBold
YellowBold
WhiteBold
BlueBold
CyanBold
MagentaBold
LightWhiteBold
LightRedBold
PurpleBold
)
type ColoredFmt interface {
Sprint(a ...interface{}) string
Sprintf(format string, a ...interface{}) string
Print(a ...interface{})
Println(a ...interface{})
Printf(format string, a ...interface{})
}
ColoredFmt colored formater interface with base functions.
Fmt return colored formater.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.