1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 12:23:28 +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")
}