sendgridlabs/go-kinesis — pull request #13 by benwilson512 (2014-09-25 18:15:11+00:00)
Title: Converts the base64 encoded data from []byte to string.

Per http://golang.org/pkg/encoding/json/ "Array and slice values encode as JSON arrays, except that []byte encodes as a base64-encoded string, and a nil slice encodes as the null JSON object." This meant that the Data attribute was being base64 encoded twice. Once explicitly in the PutData method, and then again implicitly when encoded into json inside the kinesis.query method.