suppress linter for init call

This commit is contained in:
Matt Jaffee 2018-12-11 15:43:28 -06:00
parent f2578c401f
commit 7e90917c3c
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -42,7 +42,7 @@ var (
TempDir = ""
)
func init() {
func init() { // nolint: gochecknoinits
flag.StringVar(&TempDir, "temp-dir", "", "Directory in which to place temporary data (e.g. for benchmarking). Useful if you are trying to benchmark different storage configurations.")
}