Skip to content

Commit 8a8c741

Browse files
Gao, Jian (Allen)fredbi
authored andcommitted
lint: disable meaningless lint checks
Signed-off-by: Gao, Jian (Allen) <jian.gao1@hp.com>
1 parent 48f3956 commit 8a8c741

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

time.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// UnixZero sets the zero unix UTC timestamp we want to compare against.
1616
//
1717
// Unix 0 for an EST timezone is not equivalent to a UTC timezone.
18-
var UnixZero = time.Unix(0, 0).UTC()
18+
var UnixZero = time.Unix(0, 0).UTC() //nolint:gochecknoglobals
1919

2020
func init() {
2121
dt := DateTime{}

ulid_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const (
2121
)
2222

2323
var (
24-
testUlidOverrideMtx sync.Mutex
25-
testUlidOverrideValMtx sync.Mutex
24+
testUlidOverrideMtx sync.Mutex //nolint:gochecknoglobals
25+
testUlidOverrideValMtx sync.Mutex //nolint:gochecknoglobals
2626
)
2727

2828
func TestFormatULID_Text(t *testing.T) {

0 commit comments

Comments
 (0)