blob: 5462c340e55becf543180048b9c99e4b0fc56221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}
|