package
0.0.0-20241215053428-3a1a44b4375c
Repository: https://github.com/pingcap-incubator/tinykv.git
Documentation: pkg.go.dev
# Functions
BytesToUint64 converts a byte slice to uint64.
NewDuration creates a Duration from time.Duration.
ParseTimestamp returns a timestamp for a given byte slice.
SubTimeByWallClock returns the duration between two different timestamps.
Uint64ToBytes converts uint64 to a byte slice.
# Variables
ZeroTime is a zero time.
# Type aliases
ByteSize is a retype uint64 for TOML and JSON.
StringSlice is more friendly to json encode/decode.