rename: module
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user