GoRiak 2.0.0
GoRiak 2.0.0
introduces a new API for performing your commands.
All commands are now performed through a general query builder. Commands to the query builder are chain-able, which allows you to easier build your own tools to help you doing advanced commands in your application.
// Example of how to retrieve an object with Riak Data Types
goriak.Bucket("bucketName", "bucketType").Get("key", &obj).Run(connection)
Documentation of the new API is available on GoDoc, and in the README.
Use the new API with import "gopkg.in/zegl/goriak.v2"
.
/ zegl