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 golangci-lint(depguard) errors #56

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

demouth
Copy link
Contributor

@demouth demouth commented Sep 9, 2023

Add depguard setting to the linters-settings of the .golangci.yml file to fix the following errors that occur in the Run Tests workflow.

Error: import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
Error: import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
Error: import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
Error: import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
Error: import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
Error: import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)

@appleboy appleboy merged commit 873c37e into gin-contrib:master Oct 7, 2023
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.

2 participants