package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Aug 24, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Hash returns a 32bit unsigned integer hash for any value passed in.
HashBytes returns a 32bit unsigned integer hash of the passed byte slice.
type Hasher interface {
Hash() uint32
}
Hasher is an interface primarily for structs to provide a hash of their
contents.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.