feat: many2many relations check

This commit is contained in:
2025-01-01 17:11:34 +07:00
parent caee1b8eff
commit a6574924fe
10 changed files with 303 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import (
"gormlint/foreignKeyCheck"
"gormlint/nullSafetyCheck"
"gormlint/referencesCheck"
"gormlint/relationsCheck"
)
func main() {
@@ -12,5 +13,6 @@ func main() {
nullSafetyCheck.NullSafetyAnalyzer,
referencesCheck.ReferenceAnalyzer,
foreignKeyCheck.ForeignKeyCheck,
relationsCheck.RelationsAnalyzer,
)
}