chore: update linter configuration in .golangci.yml #78
Annotations
5 errors and 5 warnings
lint:
authz.go#L10
import 'github.com/casbin/casbin/v2' is not allowed from list 'Main' (depguard)
|
lint:
authz.go#L11
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
|
lint:
authz_test.go#L13
import 'github.com/casbin/casbin/v2' is not allowed from list 'Main' (depguard)
|
lint:
authz_test.go#L14
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
|
lint
issues found
|
ubuntu-latest @ Go 1.19
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.18
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.20
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
|
ubuntu-latest @ Go 1.21
Restore cache failed: Dependencies file is not found in /home/runner/work/authz/authz. Supported file pattern: go.sum
|
macos-latest @ Go
Restore cache failed: Dependencies file is not found in /Users/runner/work/authz/authz. Supported file pattern: go.sum
|