Documentation
¶
Overview ¶
Licensed under CC0-1.0 Universial by https://github.com/rocicorp/fracdex
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Approx ¶
Float64Approx converts a key as generated by KeyBetween() to a float64. Because the range of keys is far larger than float64 can represent accurately, this is necessarily approximate. But for many use cases it should be, as they say, close enough for jazz.
func KeyBetween ¶
KeyBetween returns a key that sorts lexicographically between a and b. Either a or b can be empty strings. If a is empty it indicates smallest key, If b is empty it indicates largest key. b must be empty string or > a.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.