1
0
mirror of https://github.com/opencontainers/go-digest.git synced 2025-11-22 01:40:47 +03:00

gofmt code

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-11-08 13:44:18 +01:00
parent bde1400a84
commit 718acf6e65
8 changed files with 48 additions and 52 deletions

View File

@@ -39,9 +39,7 @@ const (
BLAKE3 Algorithm = "blake3"
)
var (
algorithmRegexp = regexp.MustCompile(`^[a-z0-9]+([+._-][a-z0-9]+)*$`)
)
var algorithmRegexp = regexp.MustCompile(`^[a-z0-9]+([+._-][a-z0-9]+)*$`)
// CryptoHash is the interface that any hash algorithm must implement
type CryptoHash interface {