34 Commits

Author SHA1 Message Date
Jonathan Chappelow
e6733e15b5 use semantic import versioning as required by go 2019-09-30 13:45:14 -05:00
yamamushi
d01b698d5a Updated bbolt import path 2018-08-28 20:31:50 -05:00
Asdine El Hrychy
e9c9e1c6bc Replacing boltdb/bolt by coreos/bbolt 2017-09-13 23:35:32 +02:00
Asdine El Hrychy
3488114915 Refactor Open and DB 2017-09-13 23:27:50 +02:00
Asdine El Hrychy
9acbcb56a2 Removing AutoIncrement option 2017-09-13 22:27:12 +02:00
Asdine El Hrychy
a6718ade82 Replacing testify/assert by testify/require 2017-09-09 11:29:50 +02:00
Asdine El Hrychy
b6dfb13b22 Bucket metadata 2016-09-25 08:30:16 +02:00
Asdine El Hrychy
8d37d07769 Variable size IDs 2016-09-24 18:27:49 +02:00
Asdine El Hrychy
f747ab73bc Fix negative integers encoding 2016-09-24 16:53:45 +02:00
Asdine El Hrychy
b53eb0570f Merge branch 'v0.5.0' into toBytesInts 2016-09-24 14:17:36 +02:00
Asdine El Hrychy
ec95665585 Bypass codec when dealing with integers 2016-09-24 14:13:05 +02:00
Asdine El Hrychy
ba92ab1186 Renaming EncodeDecoder to MarshalUnmarshaler 2016-09-24 13:28:52 +02:00
Asdine El Hrychy
4567a0b767 Batch option 2016-09-24 00:31:50 +02:00
Asdine El Hrychy
9442b71032 Storing Storm version in the database 2016-09-23 19:34:04 +02:00
Asdine El Hrychy
1c702bc8a8 Add Codec method on Node 2016-09-04 10:29:34 +02:00
Asdine El Hrychy
0e41279408 Removing OpenWithOptions 2016-08-24 16:18:54 +02:00
Asdine El Hrychy
9423b4753d Node is now an interface 2016-08-22 13:21:51 +02:00
Asdine El Hrychy
f59a8d7689 Using testing helper 2016-08-20 17:25:22 +02:00
Asdine El Hrychy
6210a26169 Cleanup 2016-08-19 17:07:27 +02:00
Asdine El Hrychy
51ee86b865 Update documentation 2016-05-29 13:25:52 +02:00
Bruno Clermont
4be90db5b0 add UseDB option 2016-05-29 11:53:26 +08:00
Asdine El Hrychy
4d1976f53b Gob as default
Fixes #28
2016-04-28 20:14:02 +02:00
Asdine El Hrychy
07d90fa5e8 toBytes considers codec when option specified. Fixes #10 2016-04-17 17:11:30 +02:00
Asdine El Hrychy
bac796ec5c New BoltOptions, deprecating OpenWithOptions 2016-04-14 20:42:48 +02:00
Bjørn Erik Pedersen
0754020e25 Add multi-bucket support
This commits adds a new Node type. A Node is in many was analogous
to a Bolt bucket, but with all of Storm's easy to use methods attached to it.

A new Storm can now be supplied with a Bucket root, where all the data will be
stored below. When more partitioning of your data is needed, new nodes can be created
with the From method.

Fixes #7
2016-04-14 13:27:11 +02:00
Asdine El Hrychy
114d3e78e4 Unexport DB.autoIncrement 2016-04-13 00:41:47 +02:00
Asdine El Hrychy
66bf965a8c Update README 2016-04-13 00:26:39 +02:00
Bjørn Erik Pedersen
58a215abd6 Add option to set custom entity encoder and decoder
Defaults to JSON.

Fixes #4
2016-04-12 13:34:22 +02:00
Asdine El Hrychy
86c0852e15 More tests for Init and NewWithOptions 2016-04-09 23:40:16 +02:00
Asdine El Hrychy
d054473171 Renamed Storm to DB 2016-01-14 20:52:31 +01:00
Asdine El Hrychy
5beccfc22a Unique index support 2016-01-10 13:54:36 +01:00
Asdine El Hrychy
520e697a83 If the field name is ID, it is considered as an id 2016-01-10 12:08:54 +01:00
Asdine El Hrychy
214de28b5d Simple save method with id struct tag 2016-01-10 11:44:30 +01:00
Asdine El Hrychy
ce58258b50 First commit 2016-01-10 10:23:05 +01:00