forked from mirror/go-json
Fix error by linter
This commit is contained in:
parent
4c19a845d9
commit
043efdfe93
2
color.go
2
color.go
|
@ -15,6 +15,7 @@ const escape = "\x1b"
|
||||||
|
|
||||||
type colorAttr int
|
type colorAttr int
|
||||||
|
|
||||||
|
//nolint:deadcode,varcheck
|
||||||
const (
|
const (
|
||||||
fgBlackColor colorAttr = iota + 30
|
fgBlackColor colorAttr = iota + 30
|
||||||
fgRedColor
|
fgRedColor
|
||||||
|
@ -26,6 +27,7 @@ const (
|
||||||
fgWhiteColor
|
fgWhiteColor
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//nolint:deadcode,varcheck
|
||||||
const (
|
const (
|
||||||
fgHiBlackColor colorAttr = iota + 90
|
fgHiBlackColor colorAttr = iota + 90
|
||||||
fgHiRedColor
|
fgHiRedColor
|
||||||
|
|
Loading…
Reference in New Issue