Fix green copypasta (#484)
Этот коммит содержится в:
родитель
b5400809cd
коммит
5e176da433
1 изменённых файлов: 5 добавлений и 5 удалений
|
@ -42,27 +42,27 @@ func Green(s interface{}) string {
|
||||||
return colorize(s, green)
|
return colorize(s, green)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Red will accept an interface and return a colorized green string.
|
// Red will accept an interface and return a colorized red string.
|
||||||
func Red(s interface{}) string {
|
func Red(s interface{}) string {
|
||||||
return colorize(s, red)
|
return colorize(s, red)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cyan will accept an interface and return a colorized green string.
|
// Cyan will accept an interface and return a colorized cyan string.
|
||||||
func Cyan(s interface{}) string {
|
func Cyan(s interface{}) string {
|
||||||
return colorize(s, cyan)
|
return colorize(s, cyan)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Black will accept an interface and return a colorized green string.
|
// Black will accept an interface and return a colorized black string.
|
||||||
func Black(s interface{}) string {
|
func Black(s interface{}) string {
|
||||||
return colorize(s, black)
|
return colorize(s, black)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Yellow will accept an interface and return a colorized green string.
|
// Yellow will accept an interface and return a colorized yellow string.
|
||||||
func Yellow(s interface{}) string {
|
func Yellow(s interface{}) string {
|
||||||
return colorize(s, yellow)
|
return colorize(s, yellow)
|
||||||
}
|
}
|
||||||
|
|
||||||
// White will accept an interface and return a colorized green string.
|
// White will accept an interface and return a colorized white string.
|
||||||
func White(s interface{}) string {
|
func White(s interface{}) string {
|
||||||
return colorize(s, white)
|
return colorize(s, white)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче