github aerospike/aerospike-client-go v1.4.0
Marshalling for Put and Get

latest releases: v7.7.2, v7.7.1, v7.7.0...
9 years ago

This is a major release, and makes using the client much easier to develop applications.

  • New Features

    • Added Marshalling Support for Put and Get operations. Refer to Marshalling Test to see how to take advantage.
    • Added Recordset.Results(). Consumers of a Recordset do not have to implement a select anymore.
    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.

  • Improvements

    • Custom Types are now allowed as bin values.

Don't miss a new aerospike-client-go release

NewReleases is sending notifications on new releases.