MCPcopy Create free account
hub / github.com/Masterminds/glide / Color

Function Color

msg/msg.go:259–261  ·  view source on GitHub ↗

Color returns a string in a certain color if colors are enabled and available on that platform.

(code, msg string)

Source from the content-addressed store, hash-verified

257// Color returns a string in a certain color if colors are enabled and
258// available on that platform.
259func Color(code, msg string) string {
260 return Default.Color(code, msg)
261}
262
263// PromptUntil provides a prompt until one of the passed in strings has been
264// entered and return is hit. Note, the comparisons are case insensitive meaning

Callers

nothing calls this directly

Calls 1

ColorMethod · 0.45

Tested by

no test coverage detected