1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-12 00:01:02 +00:00

improve performance change reflect to interface

This commit is contained in:
astaxie
2013-12-18 21:32:25 +08:00
parent 079a41136e
commit 48cefc6767
2 changed files with 17 additions and 32 deletions

View File

@ -55,6 +55,8 @@ type ControllerInterface interface {
Options()
Finish()
Render() error
XsrfToken() string
CheckXsrfCookie() bool
}
func (c *Controller) Init(ctx *context.Context, controllerName, actionName string, app interface{}) {