diff options
Diffstat (limited to 'vendor/codeberg.org/gruf/go-structr/hash_64.go')
-rw-r--r-- | vendor/codeberg.org/gruf/go-structr/hash_64.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/codeberg.org/gruf/go-structr/hash_64.go b/vendor/codeberg.org/gruf/go-structr/hash_64.go new file mode 100644 index 000000000..5462c340e --- /dev/null +++ b/vendor/codeberg.org/gruf/go-structr/hash_64.go @@ -0,0 +1,14 @@ +//go:build !structr_32bit_hash && !structr_48bit_hash +// +build !structr_32bit_hash,!structr_48bit_hash + +package structr + +// Hash is the current compiler +// flag defined cache key hash +// checksum type. Here; uint64. +type Hash uint64 + +// uint64ToHash converts uint64 to currently Hash type. +func uint64ToHash(u uint64) Hash { + return Hash(u) +} |