Skip to content

Commit

Permalink
fix: make the mock script work again
Browse files Browse the repository at this point in the history
  • Loading branch information
kuannie1 committed Jul 31, 2024
1 parent 487be12 commit f917732
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
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

0 comments on commit f917732

Please sign in to comment.