1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-19 10:10:56 +00:00
Beego/examples/blog/controller/user.go
2012-03-30 23:48:36 +08:00

11 lines
172 B
Go

package controller
import (
"github.com/astaxie/beego/beego"
"../model"
)
func UserIndex(w beego.A) {
userinfo :=model.User.getAll()
beego.V.Render(w,"users/index")
}