Short example of the 5 most common operations on the DynamoDB SDK for Golang.
Video in where I go over them one by one:
I noticed the code I wrote in the video was perfect for explaining DynamoDB concepts, but not so much for using it in a production environment. This is why I have slightly updated the code, but most of the pure DynamoDB related functions should be roughly the same. When in doubt, feel free ask questions!
Furthermore, I highly recommend using DynamoDB Attributes instead of writing everything explicitly. It will make your code a lot more portable and clean! Fortunately for you, I made a video about this. Find it here. Or go directly to the Github repository!
Thank you for understanding!
Find the official DynamoDB docs for Golang here!