aboutsummaryrefslogtreecommitdiffstats
path: root/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils.go')
-rw-r--r--utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.go b/utils.go
index c4ac9e5..fe3263c 100644
--- a/utils.go
+++ b/utils.go
@@ -7,6 +7,7 @@ import (
// zero returns the zero value for the specified type.
func zero[T any]() T {
var ret T
+
return ret
}
@@ -16,5 +17,6 @@ func hash(data []byte) uint64 {
if _, err := hasher.Write(data); err != nil {
panic(err)
}
+
return hasher.Sum64()
}