1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Add and fix exhaustive

This commit is contained in:
Kristoffer Dalby 2021-11-14 17:52:55 +01:00
parent 0315f55fcd
commit 19cd7a4eac
No known key found for this signature in database
GPG Key ID: 09F62DC067465735
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,6 @@ linters:
- forbidigo
- dupl
- goconst
- exhaustive
- varnamelen
# We might want to enable this, but it might be a lot of work

View File

@ -23,6 +23,8 @@ func main() {
colors = true
case termcolor.LevelBasic:
colors = true
case termcolor.LevelNone:
colors = false
default:
// no color, return text as is.
colors = false