diff options
| author | 2026-03-06 18:38:44 +0800 | |
|---|---|---|
| committer | 2026-03-06 18:58:30 +0800 | |
| commit | f2922155de01b734e3e8b3f50be8f263ec13cacd (patch) | |
| tree | 6dcfcf5689e63eea09314dce543e1de26cab89fe /objectid/algorithms.go | |
| parent | internal/compress: Format (diff) | |
| signature | No signature | |
*: Lint v0.1.68
Diffstat (limited to 'objectid/algorithms.go')
| -rw-r--r-- | objectid/algorithms.go | 5 |
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 ) |
