9fadbef9b9107d1a74aea09fccc8b3574a98dfac | Author: Pete Hopkins <phopkins@gmail.com>
| 2014-01-11 15:41:45-05:00
Support unmarshaling of "uuid" type
Allows unmarshaling of CQL "uuid" values in addition to the existing
"timeuuid" support. Only "timeuuid" may be unmarshaled to time.Time
values, however.
Also adds a test for this type.
5055479f140d8c3a6c931a6d7d06fc7504bb57dc | Author: Pete Hopkins <phopkins@gmail.com>
| 2014-01-07 00:45:03-05:00
Fixes UUID Timestamp, also adds FromTime function
Fixes bug where nanoseconds were not being pulled out of the 60-bit
UUID time correctly. Cleans up that code to use timeBase rather than a
special hex value.
Also adds FromTime function to generate Type 1 UUIDs from arbitrary
times.