mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 14:10:18 +00:00
add api comments in file beego.go
This commit is contained in:
2
app.go
2
app.go
@ -125,7 +125,7 @@ func (app *App) UrlFor(endpoint string, values ...string) string {
|
||||
return app.Handlers.UrlFor(endpoint, values...)
|
||||
}
|
||||
|
||||
// [Deprecated]
|
||||
// [Deprecated] use InsertFilter.
|
||||
// Filter adds a FilterFunc under pattern condition and named action.
|
||||
// The actions contains BeforeRouter,AfterStatic,BeforeExec,AfterExec and FinishRouter.
|
||||
func (app *App) Filter(pattern, action string, filter FilterFunc) *App {
|
||||
|
Reference in New Issue
Block a user