From b1133f25df3ec38b503e1ea6129ea6b3397968bb Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 6 Jun 2020 05:25:23 +0700 Subject: all: use default linter options --- lib/debug/debug.go | 2 -- lib/debug/pprof.go | 1 - 2 files changed, 3 deletions(-) (limited to 'lib/debug') diff --git a/lib/debug/debug.go b/lib/debug/debug.go index 814e41a6..8b2f335e 100644 --- a/lib/debug/debug.go +++ b/lib/debug/debug.go @@ -11,7 +11,6 @@ import ( "strconv" ) -//nolint:gochecknoglobals var ( // Value contains DEBUG value from environment. Value = 0 @@ -20,7 +19,6 @@ var ( // // init initialize debug from system environment. // -//nolint:gochecknoinits func init() { v := os.Getenv("DEBUG") if len(v) > 0 { diff --git a/lib/debug/pprof.go b/lib/debug/pprof.go index f292a993..05b60466 100644 --- a/lib/debug/pprof.go +++ b/lib/debug/pprof.go @@ -12,7 +12,6 @@ import ( "runtime/pprof" ) -//nolint:gochecknoglobals var prof *profile type profile struct { -- cgit v1.3-5-g9baa