diff options
| author | 2026-03-04 08:25:05 +0800 | |
|---|---|---|
| committer | 2026-03-04 08:25:05 +0800 | |
| commit | 34d47f9e0cf66904432a3c774707b4773273ef4f (patch) | |
| tree | f639f1d5ab04ae10805901034517f51559639e7f /objectid | |
| parent | refstore/packed: Use os.Root (diff) | |
| signature | No signature | |
*: gofumpt
Diffstat (limited to 'objectid')
| -rw-r--r-- | objectid/objectid.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/objectid/objectid.go b/objectid/objectid.go index 2c085abf..7ce011f3 100644 --- a/objectid/objectid.go +++ b/objectid/objectid.go @@ -64,8 +64,10 @@ var algorithmTable = [...]algorithmDetails{ }, } -var algorithmByName = map[string]Algorithm{} -var supportedAlgorithms []Algorithm +var ( + algorithmByName = map[string]Algorithm{} + supportedAlgorithms []Algorithm +) func init() { for algo := Algorithm(0); int(algo) < len(algorithmTable); algo++ { |
