INNER CODE UNIT · Go
func
hidetatz/kubecolor · color/color.go:22
func (c Color) sequence() int {
return int(c)
}
func Apply(val string, c Color) string {
return fmt.Sprintf("%s[%dm%s%s[0m", escape, c.sequence(), val, escape)
}
INNER CODE UNIT · Go
hidetatz/kubecolor · color/color.go:22
func (c Color) sequence() int {
return int(c)
}
func Apply(val string, c Color) string {
return fmt.Sprintf("%s[%dm%s%s[0m", escape, c.sequence(), val, escape)
}