v1.4.0
Release Date: February 17, 2015
New Features
- Added Marshalling Support for Put and Get operations.
- Added
Recordset.Results()
. Consumers of a recordset do not have to implement a select anymore. Use of the old pattern is discouraged and deprecated, and direct access to recordset.Records and recordset.Errors will be removed in a future release.
recordset, err := client.ScanAll(...)
for res := range recordset.Results() {
if res.Err != nil {
// handle error here
} else {
// process record here
fmt.Println(res.Record.Bins)
}
}
- Use of the old pattern is discouraged and deprecated, and direct access to
recordset.Records
andrecordset.Errors
will be removed in a future release. - Custom Types are now allowed as bin values.
Full Changelog: v1.3.1...v1.4.0