INNER CODE UNIT · Go

Apply

hidetatz/kubecolor · color/color.go:26

func Apply(val string, c Color) string {
	return fmt.Sprintf("%s[%dm%s%s[0m", escape, c.sequence(), val, escape)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…