1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

godoc: minor

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-04-22 11:52:25 +03:00
parent 382e7c14cb
commit 43079f75d2
5 changed files with 19 additions and 15 deletions

View File

@@ -122,6 +122,8 @@ func (app *Application) SetName(appName string) *Application {
return app
}
// SetCustomPathWordFunc sets a custom function
// which is responsible to override the existing controllers method parsing.
func (app *Application) SetCustomPathWordFunc(wordFunc CustomPathWordFunc) *Application {
app.customPathWordFunc = wordFunc
return app