Documentation ¶
Index ¶
- Constants
- Variables
- func Fprint(w io.Writer, color, s string)
- func FprintBg(w io.Writer, bgColor, color, s string)
- func FprintDelete(w io.Writer, s string)
- func FprintDeleteBold(w io.Writer, s string)
- func FprintEqual(w io.Writer, s string)
- func FprintInsert(w io.Writer, s string)
- func FprintInsertBold(w io.Writer, s string)
- func FprintRange(w io.Writer, r1, r2 string)
- func Sprint(color, s string) string
Constants ¶
View Source
const ( RedBg = "\x1b[48;5;225m" GreenBG = "\x1b[48;5;159m" BoldGreenBG = "\x1b[48;5;23m" BoldRedBg = "\x1b[48;5;127m" BoldWhite = "\x1b[1;38;5;255m" Dim = "\x1b[2m" Greendiff = "\x1b[38;5;22m" Reddiff = "\x1b[38;5;52m" Yellow = "\x1b[33;1m" White = "\x1b[38;5;255m" Green = "\x1b[32;1m" Red = "\x1b[31;1m" )
Variables ¶
View Source
var NOCOLOR = isNoColor()
Functions ¶
func FprintDelete ¶
func FprintDeleteBold ¶
func FprintInsert ¶
func FprintInsertBold ¶
func FprintRange ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.