update lint

This commit is contained in:
2020-10-25 19:27:02 +03:00
parent 8886872c77
commit 3843a30d85
4 changed files with 15 additions and 9 deletions

View File

@@ -4,7 +4,10 @@ import (
"time"
)
var Empty = &empty{}
// nolint: gochecknoglobals
var (
Empty = &empty{}
)
func IsEmpty(v Value) bool {
return v == Empty