mirror of
https://github.com/astaxie/beego.git
synced 2025-07-11 14:31:02 +00:00
orm support custom multi unique / index
This commit is contained in:
@ -31,7 +31,7 @@ func newModelInfo(val reflect.Value) (info *modelInfo) {
|
||||
ind := reflect.Indirect(val)
|
||||
typ := ind.Type()
|
||||
|
||||
info.addrField = ind.Addr()
|
||||
info.addrField = val
|
||||
|
||||
info.name = typ.Name()
|
||||
info.fullName = getFullName(typ)
|
||||
|
Reference in New Issue
Block a user