fixed typo in models_boot

This commit is contained in:
Kariuki, Stanley (Contractor) 2016-12-29 12:24:27 -05:00
parent 90999717dd
commit caca5e37ba
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func bootStrap() {
name := getFullName(elm)
mii, ok := modelCache.getByFullName(name)
if !ok || mii.pkg != elm.PkgPath() {
err = fmt.Errorf("can not found rel in field `%s`, `%s` may be miss register", fi.fullName, elm.String())
err = fmt.Errorf("can not find rel in field `%s`, `%s` may be miss register", fi.fullName, elm.String())
goto end
}
fi.relModelInfo = mii