feat: references check
... and fixes: parse fields without tags and other logical errors
This commit is contained in:
12
tests/reference_check_test.go
Normal file
12
tests/reference_check_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package tests
|
||||
|
||||
import (
|
||||
"golang.org/x/tools/go/analysis/analysistest"
|
||||
"gormlint/referencesCheck"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestReferenceCheck(t *testing.T) {
|
||||
t.Parallel()
|
||||
analysistest.Run(t, analysistest.TestData(), referencesCheck.ReferenceAnalyzer, "references_check")
|
||||
}
|
||||
Reference in New Issue
Block a user