Documentation
¶
Overview ¶
Package id contains the different types of IDs in the system for entities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyIdToBytes ¶
KeyIdToBytes converts a key ID into a slice of Bytes
func KeyIdToString ¶
KeyIdToString returns the string representation of the Key
func UUIDToBytes ¶
UUIDToBytes converts an ID into a slice of Bytes
func UUIDToString ¶
UUIDToString returns the string representation of the ID
func XidToString ¶
XidToString returns the string representation of the ID
Types ¶
type KeyID ¶
KeyID is a unique key useful for entities that allows sorting
func BytesToKeyID ¶
BytesToKeyID parses a slice of bytes to an ID
func StringToKeyID ¶
StringToKeyID parses a string into an ID
type UUID ¶
func BytesToUUID ¶
BytesToUUID parses a slice of bytes to an ID
func StringToUUID ¶
StringToIdentifier parses a string into an ID
Click to show internal directories.
Click to hide internal directories.