# Functions
KeyWithNamespaces constructs a key out of a namespace slice.
Clean up a StrKey, using path.Clean, no-op for BytesKey.
Compare returns an integer comparing two Keys lexicographically.
EmptyKeyFromType returns the empty key of keyType.
KeyWithNamespaces constructs a key out of a namespace slice.
NamespaceType is the first component of a namespace.
NamespaceValue returns the last component of a namespace.
NewBytesKey constructs a BytesKey from byte slice.
NewBytesKeyFromString constructs a BytesKey from s.
NewBytesKeyFromStringUnsafe constructs a BytesKey from `s` using "unsafe" package to avoid copying.
Deprecated: NewKey just proxies calls to NewStrKey for backward compatibility.
NewKeyFromTypeAndBytes constructs a Key of keyType from bytes.
NewKeyFromTypeAndString constructs a Key of keyType from s.
NewStrKey constructs a StrKey from string.
No description provided by the author
QueryKeyFromTypeAndString constructs a Key of keyType from s.
QueryStrKey creates a new StrKey without safety checking the input, intended to be used for query.
RandomBytesKey returns a randomly (uuid) generated key.
Deprecated: RandomKey just proxy calls to RandomStrKey for backward compatibility.
RandomStrKey returns a randomly (uuid) generated key.
Deprecated: RawKey just proxies calls to RawStrKey for backward compatibility.
RawStrKey creates a new StrKey without safety checking the input.
No description provided by the author
StrsToKeys is an alias that proxies calls to StrsToStrKeys for backwards compatibility.
No description provided by the author
No description provided by the author
TypeAndStrsToKeys constructs a slice of Key of keyType from strs.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
A Key represents the unique identifier of an object.