1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-19 12:20:55 +00:00
Beego/examples/blog/controller/user.go

11 lines
172 B
Go
Raw Normal View History

2012-03-30 15:48:36 +00:00
package controller
import (
"github.com/astaxie/beego/beego"
"../model"
)
func UserIndex(w beego.A) {
userinfo :=model.User.getAll()
beego.V.Render(w,"users/index")
}