Fix typo of enable

Former-commit-id: 60236fce26699aa4483bcf1defcfddbe5d69b2e0
This commit is contained in:
Success Go 2020-01-12 21:28:02 +08:00
parent d9ccaae202
commit 2c929ade4e

View File

@ -257,7 +257,7 @@ var WithoutAutoFireStatusCode = func(app *Application) {
app.config.DisableAutoFireStatusCode = true
}
// WithPathEscape enanbles the PathEscape setting.
// WithPathEscape enables the PathEscape setting.
//
// See `Configuration`.
var WithPathEscape = func(app *Application) {
@ -271,7 +271,7 @@ var WithOptimizations = func(app *Application) {
app.config.EnableOptimizations = true
}
// WithFireMethodNotAllowed enanbles the FireMethodNotAllowed setting.
// WithFireMethodNotAllowed enables the FireMethodNotAllowed setting.
//
// See `Configuration`.
var WithFireMethodNotAllowed = func(app *Application) {