feat: models structs

This commit is contained in:
2024-12-29 23:48:18 +07:00
parent 9a66f2f2a7
commit a7f82bf8f2
7 changed files with 42 additions and 31 deletions

View File

@@ -1,10 +1,14 @@
package main
import (
"golang.org/x/tools/go/analysis/singlechecker"
"golang.org/x/tools/go/analysis/multichecker"
"gormlint/nullSafetyCheck"
"gormlint/referencesCheck"
)
func main() {
singlechecker.Main(nullSafetyCheck.NullSafetyAnalyzer)
multichecker.Main(
nullSafetyCheck.NullSafetyAnalyzer,
referencesCheck.ReferenceAnalyzer,
)
}