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:
@ -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{}) {
|
||||
|
Reference in New Issue
Block a user