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

Mapping entire struct to DynamoDB #100

kaihendry opened this Issue Jan 17, 2018 · 2 comments


None yet
3 participants
Copy link

kaihendry commented Jan 17, 2018

~$ go version ; git -C ~/go/src/ describe --all
go version go1.9.2 linux/amd64

What issue did you see?

I find it cumbersome to maintain a mapping between my struct and dynamodb with expression.Set. Is there a way to map/marshal the whole struct to dynamodb? I can't see how that's done with


This comment has been minimized.

Copy link

xibz commented Jan 17, 2018

Hello @kaihendry, thank you for reaching out to us. If you are just looking to just upload a whole structure, then using the dynamodbattribute package is the best approach. The expressions package was meant for ease of use for expressions. Please let us know if you have anymore questions regarding this.

@xibz xibz added the guidance label Jan 17, 2018


This comment has been minimized.

Copy link

jasdel commented Feb 26, 2018

Hi @kaihendry let us know if you're still running into this issue, or have additional questions about the dynamodbattribute package.

@jasdel jasdel closed this Feb 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment