mirror of
https://github.com/astaxie/beego.git
synced 2025-07-07 02:20:19 +00:00
optimize the ORM
This commit is contained in:
@ -227,7 +227,7 @@ func TestModelSyntax(t *testing.T) {
|
||||
user := &User{}
|
||||
ind := reflect.ValueOf(user).Elem()
|
||||
fn := getFullName(ind.Type())
|
||||
mi, ok := modelCache.getByFN(fn)
|
||||
mi, ok := modelCache.getByFullName(fn)
|
||||
throwFail(t, AssertIs(ok, true))
|
||||
|
||||
mi, ok = modelCache.get("user")
|
||||
|
Reference in New Issue
Block a user