Skip to content
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

fix: make the aws mock-generation script work again #1079

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This is a collection of Go libraries and projects used by other projects within
### aws
An AWS client that aims to standardize the way we mock and write aws tests

If you recently changed laptops and struggled with new go dependencies, use [this page to help](https://stackoverflow.com/questions/42614380/go-install-not-working-with-zsh). Full link: https://stackoverflow.com/questions/42614380/go-install-not-working-with-zsh

### config
A utility for loading configuration from environment variables and files. See the [config](config/README.md) package for more information.

Expand Down
4 changes: 2 additions & 2 deletions aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ generate-mocks: ## will generate mocks
go install github.com/golang/mock/[email protected]
go get -u github.com/aws/aws-sdk-go/...
go get -u github.com/aws/aws-sdk-go-v2/...
rm -rf aws/mocks/*
cd aws; go generate
rm -rf mocks/*
go generate
go mod tidy
.PHONY: generate-mocks
2 changes: 1 addition & 1 deletion aws/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.1

require (
github.com/aws/aws-sdk-go v1.55.3
github.com/aws/aws-sdk-go v1.55.5
github.com/golang/mock v1.6.0
github.com/pkg/errors v0.9.1
)
Expand Down
4 changes: 2 additions & 2 deletions aws/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/aws/aws-sdk-go v1.55.3 h1:0B5hOX+mIx7I5XPOrjrHlKSDQV/+ypFZpIHOx5LOk3E=
github.com/aws/aws-sdk-go v1.55.3/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
Loading