Skip to content

Commit

Permalink
fix golangci-lint(depguard) errors (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
demouth authored Oct 7, 2023
1 parent df7cf8a commit 873c37e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,23 @@ linters:
- whitespace
- gofumpt

linters-settings:
depguard:
rules:
Main:
files:
- $all
- "!$test"
allow:
- $gostd
- github.com/gin-gonic/gin
Test:
files:
- $test
allow:
- $gostd
- github.com/gin-gonic/gin
- github.com/stretchr/testify

run:
timeout: 3m

0 comments on commit 873c37e

Please sign in to comment.