Table not found spelling fixes

This commit is contained in:
Robert Wikman 2017-05-16 00:27:57 +02:00 committed by GitHub
parent 83814a76cc
commit e1c90bfc09
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func (o *orm) getMiInd(md interface{}, needPtr bool) (mi *modelInfo, ind reflect
if mi, ok := modelCache.getByFullName(name); ok {
return mi, ind
}
panic(fmt.Errorf("<Ormer> table: `%s` not found, maybe not RegisterModel", name))
panic(fmt.Errorf("<Ormer> table: `%s` not found, make sure it was registered with `RegisterModel()`", name))
}
// get field info from model info by given field name