package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Structs

Map uses the genny package to provide a generic hash map that can be specialized by running the following command from this root of the repository: ``` make hashmap-gen pkg=outpkg key_type=Type value_type=Type out_dir=/tmp ``` Or if you would like to use bytes or ident.ID as keys you can use the partially specialized maps to generate your own maps as well: ``` make byteshashmap-gen pkg=outpkg value_type=Type out_dir=/tmp make idhashmap-gen pkg=outpkg value_type=Type out_dir=/tmp ``` This will output to stdout the generated source file to use for your map.
MapEntry is an entry in the map, this is public to support iterating over the map using a native Go for loop.
SetUnsafeOptions is a set of options to use when setting a value with the SetUnsafe method.

# Type aliases

CopyFn is the copy key function to execute when copying the key.
EqualsFn is the equals key function to execute when detecting equality of a key.
FinalizeFn is the finalize key function to execute when finished with a key.
HashFn is the hash function to execute when hashing a key.
KeyType is the generic key type for use with the specialized hash map.
MapHash is the hash for a given map entry, this is public to support iterating over the map using a native Go for loop.
ValueType is the generic value type for use with the specialized hash map.