refactor: renaming

This commit is contained in:
2024-12-30 21:18:11 +07:00
parent 49878c333c
commit 45721a4c11
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import (
// NullSafetyAnalyzer todo: add URL for null safety analyzer rules // NullSafetyAnalyzer todo: add URL for null safety analyzer rules
var NullSafetyAnalyzer = &analysis.Analyzer{ var NullSafetyAnalyzer = &analysis.Analyzer{
Name: "gormNullSafety", Name: "GormNullSafety",
Doc: "reports problems with nullable fields with unsatisfied tag", Doc: "reports problems with nullable fields with unsatisfied tag",
Run: run, Run: run,
} }

View File

@@ -9,7 +9,7 @@ import (
// ReferenceAnalyzer todo: add URL for rule // ReferenceAnalyzer todo: add URL for rule
var ReferenceAnalyzer = &analysis.Analyzer{ var ReferenceAnalyzer = &analysis.Analyzer{
Name: "gormReferencesCheck", Name: "GormReferencesCheck",
Doc: "report about invalid references in models", Doc: "report about invalid references in models",
Run: run, Run: run,
} }