Commit Graph

57 Commits

Author SHA1 Message Date
astaxie 107a7a21c0 beego: dev mode print request router & pattern 2014-06-10 18:09:07 +08:00
astaxie dbebf8df4b beego:namespace support nest
ns := NewNamespace("/v3",
		NSAutoRouter(&TestController{}),
		NSNamespace("/shop",
			NSGet("/order/:id", func(ctx *context.Context) {
				ctx.Output.Body([]byte(ctx.Input.Param(":id")))
			}),
		),
	)
2014-06-10 17:11:02 +08:00
astaxie f7b01aab13 beego: modify the filter sequence 2014-06-10 11:02:41 +08:00
astaxie 2570f075d9 beego:change ControllerComments exported 2014-06-09 17:46:13 +08:00
astaxie 21cb8ea4a3 beego:AST code 2014-06-09 17:33:04 +08:00
astaxie 6c8a7f1382 beego: router change to method Tree 2014-06-09 10:11:37 +08:00
astaxie e00eab7f49 beego: change to tree 2014-06-08 20:24:07 +08:00