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

chore(mock): migrate mock package and enhance clarity in tests #126

Merged
merged 3 commits into from
Aug 31, 2024

Conversation

appleboy
Copy link
Member

  • Update dependency from github.com/golang/mock to go.uber.org/mock
  • Remove unused import from mocks/mocks.go
  • Change parameter type from interface{} to any in mock recorder functions
  • Add generated comments in mock files for clarity
  • Adjust import statements in test files to reflect the new mock package

- Update dependency from `github.com/golang/mock` to `go.uber.org/mock`
- Remove unused import from `mocks/mocks.go`
- Change parameter type from `interface{}` to `any` in mock recorder functions
- Add generated comments in mock files for clarity
- Adjust import statements in test files to reflect the new mock package

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Change the operating system matrix to only include `ubuntu-latest`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Update golangci-lint action version from v4 to v6

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 41dde8b into master Aug 31, 2024
5 of 6 checks passed
@appleboy appleboy deleted the newmock branch August 31, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant