dev: use goprintffuncname, gomnd and rowserrcheck (#927)

Order linters in config in alphabetical order.
Support gomnd configuration.
This commit is contained in:
Isaev Denis 2020-01-19 19:55:29 +03:00 committed by GitHub
parent 88b6c25075
commit 6237e59c97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 321 additions and 277 deletions

View file

@ -1,12 +0,0 @@
package timeutils
import (
"fmt"
"time"
"github.com/golangci/golangci-lint/pkg/logutils"
)
func Track(from time.Time, log logutils.Log, format string, args ...interface{}) {
log.Infof("%s took %s", fmt.Sprintf(format, args...), time.Since(from))
}