From 90425015d5f7310c7b16639fe630136f6128df7f Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sat, 9 May 2020 17:30:12 +0200 Subject: [PATCH] chore: update linter. --- .golangci.toml | 2 ++ app.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.toml b/.golangci.toml index 539fd41..36fca87 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -32,6 +32,8 @@ "gochecknoinits", "gomnd", "wsl", + "goerr113", + "testpackage", ] [issues] diff --git a/app.go b/app.go index ee07eac..0b47c72 100644 --- a/app.go +++ b/app.go @@ -19,7 +19,7 @@ import ( "github.com/gorilla/websocket" ) -// Units +// Units. const ( _ = iota KB int64 = 1 << (10 * iota)