aboutsummaryrefslogtreecommitdiff
path: root/objectid/algorithms.go
diff options
context:
space:
mode:
Diffstat (limited to 'objectid/algorithms.go')
-rw-r--r--objectid/algorithms.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/objectid/algorithms.go b/objectid/algorithms.go
index a07edf7b..404d3bbf 100644
--- a/objectid/algorithms.go
+++ b/objectid/algorithms.go
@@ -26,6 +26,7 @@ type algorithmDetails struct {
new func() hash.Hash
}
+//nolint:gochecknoglobals
var algorithmTable = [...]algorithmDetails{
AlgorithmUnknown: {},
AlgorithmSHA1: {
@@ -61,7 +62,9 @@ var algorithmTable = [...]algorithmDetails{
}
var (
- algorithmByName = map[string]Algorithm{}
+ //nolint:gochecknoglobals
+ algorithmByName = map[string]Algorithm{}
+ //nolint:gochecknoglobals
supportedAlgorithms []Algorithm
)