package color
import "go.uber.org/zap/internal/color"
Package color adds coloring functionality for TTY output.
Index ¶
Types ¶
type Color ¶
type Color uint8
Color represents a text color.
Foreground colors.
func (Color) Add ¶
Add adds the coloring to the given string.
Source Files ¶
color.go
- Version
- v1.27.0 (latest)
- Published
- Feb 20, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 5 hours ago –
Tools for package owners.