11
hash/xxhash/xxhash.go
Normal file
11
hash/xxhash/xxhash.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package xxhash
|
||||
|
||||
import (
|
||||
"github.com/OneOfOne/xxhash"
|
||||
|
||||
"github.com/sdstack/storage/hash"
|
||||
)
|
||||
|
||||
func init() {
|
||||
hash.RegisterHash("xxhash", &xxhash.XXHash64{})
|
||||
}
|
||||
Reference in New Issue
Block a user