DEV Community

Discussion on: AWS DynamoDb in GoLang

Collapse
 
baderkha profile image
baderkha

thanks for the article , you can make this persistence layer easily testable if you're using dynamodb without external dependencies by using the following

embed that interface in the repository and this way you can mock this interface via

moq github.com/matryer/moq

You don't need to do an integration test