Skip to content

Instantly share code, notes, and snippets.

@benbpyle
Last active February 1, 2023 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benbpyle/20c313b853fb745e07c428132386b8b5 to your computer and use it in GitHub Desktop.
Save benbpyle/20c313b853fb745e07c428132386b8b5 to your computer and use it in GitHub Desktop.
Go unmarshal DynamoDB Map
{
"Roles": {
"1": {
"name": "Role number 1",
"id": 1
},
"2": {
"name": "Role number 2",
"id": 2
}
},
"SK": "ROLE#1234",
"PK": "USERPROFILE#1000130",
"EntityType": "UserRole"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment