rename: module

This commit is contained in:
2025-03-18 03:45:42 +07:00
parent ffbeccc4fd
commit b37121a218
11 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
package relationsCheck
import "gormlint/common"
import "github.com/kuzgoga/gormlint/common"
func IsHasOne(field common.Field, model common.Model, relatedModel common.Model) bool {
foreignKey := field.Tags.GetParamOr("foreignKey", model.Name+"Id")