Mocking the AWS API in go gomock go get github.com/golang/mock/gomock go get github.com/golang/mock/mockgen mockgen mockery cd ~/go/src/github.com/aws/aws-sdk-go/service mockery --rescursive --all