mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 23:09:32 +02:00
refactor: clean up git repo and model migration packages (#38564)
enable the golangci depguard lint rule: deny "models" and its sub packages in "modelmigration" package.
This commit is contained in:
1 parent
fa64b4627a
commit
1acf93d854
43 files changed
+243
-167
No files matched your search
@@ -9,8 +9,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"gitea.dev/modelmigration/base"
|
||||
"gitea.dev/models/db"
|
||||
"gitea.dev/models/unittest"
|
||||
"gitea.dev/models/db" //nolint:depguard // allow to access db in migration tests
|
||||
"gitea.dev/models/unittest" //nolint:depguard // allow to access db in migration tests
|
||||
"gitea.dev/modules/git"
|
||||
"gitea.dev/modules/setting"
|
||||
"gitea.dev/modules/testlogger"
|
||||
|
||||
Reference in new issue
Block a user