31 lines
494 B
Go
31 lines
494 B
Go
package colors
|
|
|
|
import (
|
|
"github.com/jwalton/gchalk"
|
|
)
|
|
|
|
// Green returns a green string
|
|
func Green(s string) string {
|
|
return gchalk.Green(s)
|
|
}
|
|
|
|
// Yellow returns a green string
|
|
func Yellow(s string) string {
|
|
return gchalk.Yellow(s)
|
|
}
|
|
|
|
// Red returns a green string
|
|
func Red(s string) string {
|
|
return gchalk.Red(s)
|
|
}
|
|
|
|
// Blue returns a blue string
|
|
func Blue(s string) string {
|
|
return gchalk.Blue(s)
|
|
}
|
|
|
|
// White returns a white string
|
|
func White(s string) string {
|
|
return gchalk.White(s)
|
|
}
|