Skip to content

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