最近发布的主题
最近发布的文章
暂无
最近分享的资源
暂无
最近发布的项目
暂无
最近的评论
-
评论了主题 求助! 关于WEB分页#13楼 @hellsam ``` type User_list struct { Uid int Email string Password string Tel string Regip string } type Paginator struct { Totalpages int Currpage int Firstpage int Pages []int Lastpage int } type DataTest struct { Content []*User_list Paginator *Paginator Totals int } user_list := make([]*User_list, 0) // range user := &User_list{} //&user.Uid, &user.Email, &user.Password, &user.Tel, &user.Regip if err2 := rows.Scan(&user.Uid, &user.Email, &user.Password, &user.Tel, &user.Regip); err2 != nil { checkerrlog.CheckErrLog("遍历错误", err2) return } user_list.push(user) // range end data := &DataTest{} data.Content = user_list ```
-
评论了主题 求助! 关于WEB分页
-
评论了主题 求助! 关于WEB分页