Skip to content

v1.4.0

Compare
Choose a tag to compare
@khaf khaf released this 18 Feb 10:10

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 and recordset.Errors will be removed in a future release.
  • Custom Types are now allowed as bin values.

Full Changelog: v1.3.1...v1.4.0