Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
Hash returns a FNV-1a hash of the given value.
Guarantees:
- Hashes are consistent between function calls and program execution.
- Hashes of two values are the same if values are equal based on their exported fields.
- Hashes of two functions are the same if functions share the same signature and name or its absence.
- Hashes of two different pointers to the same (equal) values are the same.
Pointers are always dereferenced. Pointer cycles are detected and won't halt the execution.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.