Skip to content

Dynamo DB Helpers

Compare
Choose a tag to compare
@acidjazz acidjazz released this 25 Apr 00:47
· 29 commits to main since this release
2105946

New DynamoDB Helpers:

Insert a row

if err := tonic.DynamoInsert("us-east-1", "tableName", item); err != nil {
  return render.Render(c, err.Error())
}

Grab all rows

var results Results[]
if err := tonic.DynamoIndex("us-east-1", "tableName", results); err != nil {
  return render.Error(c, err.Error())
}

Full Changelog: v1.0.0...v1.0.1