go1.12: add nolint for gochecknoinits in mod_version.go

This commit is contained in:
Denis Isaev 2019-03-04 09:48:45 +03:00
parent d3bc69dc5b
commit 407c3f0465

View File

@ -7,6 +7,7 @@ import (
"runtime/debug"
)
//nolint:gochecknoinits
func init() {
if info, available := debug.ReadBuildInfo(); available {
if date == "" && info.Main.Version != "(devel)" {