MCPcopy Index your code

hub / github.com/mattn/go-colorable / functions

Functions34 in github.com/mattn/go-colorable

↓ 7 callersMethodWrite
Write writes data on console
colorable_windows.go:438
↓ 6 callersFunctionNewNonColorable
NewNonColorable returns new instance of Writer which removes escape sequence from Writer.
noncolorable.go:14
↓ 6 callersFunctionatoiWithDefault
returns Atoi(s) unless s == "" in which case it returns def
colorable_windows.go:430
↓ 4 callersFunctioncheckEncoding
checkEncoding checks that colorable is output encoding agnostic as long as the encoding is a superset of ASCII. This implies that one byte not part of
colorable_test.go:13
↓ 2 callersFunctionNewColorable
NewColorable returns new instance of writer which handles escape sequence from File.
colorable_windows.go:103
↓ 2 callersFunctionNewColorable
NewColorable returns new instance of Writer which handles escape sequence.
colorable_others.go:14
↓ 2 callersFunctionNewColorableStdout
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
colorable_others.go:23
↓ 2 callersFunctionn256setup
()
colorable_windows.go:1030
↓ 2 callersFunctiontoHSV
(rgb int)
colorable_windows.go:957
↓ 1 callersFunctionNewColorableStderr
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
colorable_others.go:28
↓ 1 callersMethodbackgroundAttr
()
colorable_windows.go:905
↓ 1 callersMethoddist
(b hsv)
colorable_windows.go:944
↓ 1 callersFunctiondoTitleSequence
`\033]0;TITLESTR\007`
colorable_windows.go:391
↓ 1 callersMethodfind
(rgb int)
colorable_windows.go:994
↓ 1 callersMethodforegroundAttr
()
colorable_windows.go:889
↓ 1 callersFunctionminmax3f
(a, b, c float32)
colorable_windows.go:1007
↓ 1 callersFunctiontoHSVTable
(rgbTable []consoleColor)
colorable_windows.go:986
FunctionBenchmarkWriterPlaintext
(b *testing.B)
colorable_windows_bench_test.go:11
FunctionBenchmarkWriterPlaintextLarge
(b *testing.B)
colorable_windows_bench_test.go:20
FunctionEnableColorsStdout
EnableColorsStdout enable colors if possible.
colorable_windows.go:1042
FunctionEnableColorsStdout
EnableColorsStdout enable colors if possible.
colorable_others.go:33
FunctionNewColorableStderr
NewColorableStderr returns new instance of writer which handles escape sequence for stderr.
colorable_windows.go:127
FunctionNewColorableStdout
NewColorableStdout returns new instance of writer which handles escape sequence for stdout.
colorable_windows.go:122
FunctionTestColorable
(t *testing.T)
colorable_test.go:82
FunctionTestEncoding
(t *testing.T)
colorable_test.go:26
FunctionTestNonColorable
(t *testing.T)
colorable_test.go:33
FunctionTestNonColorableBadESC
(t *testing.T)
colorable_test.go:74
FunctionTestNonColorableESC
(t *testing.T)
colorable_test.go:66
FunctionTestNonColorableNil
(t *testing.T)
colorable_test.go:50
MethodWrite
Write writes data on console
noncolorable.go:19
Functionmain
()
cmd/colorable/colorable.go:10
Functionmain
()
_example/logrus/main.go:8
Functionmain
()
_example/title/main.go:10
Functionmain
()
_example/escape-seq/main.go:10