db
db copied to clipboard
the result can not transform to map[string]interface
the result can to trans to map[string]interface
var list []map[string]interface{} p.Page(pageIndex).All(&list)
info := map[string]interface{}{} Find(cond).Select(cols...).One(&info)
the result interface {} is []uint8