package routers import ( "beeblog/controllers" "github.com/astaxie/beego" ) func init() { beego.Router("/api/cats", &controllers.CatController{}, "get:List") }