Tobie Morgan Hitchcock
529ddbbec2
Encode all numbers as float64
...
All numbers in encoded keys are now encoded into float64, ensuring that decimal numbers are sorted alongside integers.
The maximum number able to be stored as a float64, without losing precision, is now (1<<53 - 1) - the same maximum number possible in javascript.
2016-09-10 00:21:58 +01:00
Tobie Morgan Hitchcock
d76038652b
Add key type for rules
2016-09-06 13:27:59 +01:00
Tobie Morgan Hitchcock
8758ce19ff
Add test for keys.CK
2016-08-28 09:41:21 +01:00
Tobie Morgan Hitchcock
a91ca78606
Remove failing tests temporarily
2016-07-04 11:36:07 +01:00
Tobie Morgan Hitchcock
6afa0ede40
Rename Trail to Patch
2016-07-04 10:02:51 +01:00
Tobie Morgan Hitchcock
6d872fbd5d
Change key struct fields to interface{}
...
Most key struct fields are changed to interface{} so that they can be encoded with whatever data is underlying.
2016-05-27 16:29:50 +01:00
Tobie Morgan Hitchcock
c5f7c81ad1
Add key prefix testing
2016-05-27 16:27:02 +01:00
Tobie Morgan Hitchcock
2024efdb0f
Ensure all tests are run
2016-05-23 13:31:24 +01:00
Tobie Morgan Hitchcock
7addcd8289
Latest implementation of key encoding+decoding
2016-05-18 00:55:50 +01:00
Tobie Morgan Hitchcock
07139fdc5b
Add database keys package
...
The keys package is used to encode and decode keys. Keys are used for storage in the key:value store.
2016-03-15 21:30:47 +00:00