Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom DynamoDB table. #33

Merged
merged 2 commits into from
May 16, 2016

Conversation

ojongerius
Copy link
Contributor

A solution to #32. Passes unit tests, no integration tests done.

@@ -107,7 +104,7 @@ func (slice ByName) Less(i, j int) bool {
}

// Setup create the table which stores credentials
func Setup() (err error) {
func Setup(Table *string) (err error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just change Table to tableName in all calls, this matches the normal golang convention.

Aside from that it looks fantastic!

Thanks again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, did that in main.go after noticing it collided with the table variable used for the TableWriter.

@wolfeidau wolfeidau merged commit 0169a24 into Versent:master May 16, 2016
@wolfeidau
Copy link
Contributor

👍 will do some testing and cut a release tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants