package
1.0.0-rc.5
Repository: https://github.com/beneath-hq/beneath.git
Documentation: pkg.go.dev

# Functions

IncompleteVersionstamp is the constructor you should use to make an incomplete versionstamp to use in a tuple.
PrefixSuccessor returns the first key that would sort outside the range prefixed by key Note (1): Purely mechanical -- doesn't logically work when the last type in the key is bytes/string because these finish with a 00 byte (see TruncateBytesTypeForPrefixSuccessor) Note (2): Adapted from: https://github.com/apple/foundationdb/blob/master/bindings/go/src/fdb/range.go.
Successor returns the key that lexicographically sorts immediately after key.
TruncateBytesTypeForPrefixSuccessor assumes the key was packed with a string or bytes type as the last element.
Unpack returns the tuple encoded by the provided byte slice, or an error if the key does not correctly encode a FoundationDB tuple.

# Structs

Versionstamp is struct for a FoundationDB verionstamp.

# Interfaces

A TupleElement is one of the types that may be encoded in FoundationDB tuples.

# Type aliases

Tuple is a slice of objects that can be encoded as FoundationDB tuples.
UUID wraps a basic byte array as a UUID.