package
Version:
v0.0.0-...-ef20d55
Opens a new window with list of versions in this module.
Published: Jan 9, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ID is a helper for managing byte slices as IDs
Dec returns a new byte slice ID that is decremented by one from the given
ID.
Inc returns a new byte slice ID that is incremented by one from the given
ID.
IDLen is used to generate byte slice IDs
func (IDLen) Rand ¶
Rand creates a random byte slice ID of length IDLen
Zero returns a byte slice of length IDLen that is all zeros
Index allows the equivalent of map[[]byte]<Type>.
Source Files
¶
Directories
¶
|
|
|
|
Package testsuite provides tests to validate that an implementation of byteid.Index is correct.
|
Package testsuite provides tests to validate that an implementation of byteid.Index is correct. |
Click to show internal directories.
Click to hide internal directories.