File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ func (e *Echo) Logger() *log.Logger {
247247 return e .logger
248248}
249249
250- // HTTP2 enables/disables HTTP2 support.
250+ // HTTP2 enable/disable HTTP2 support.
251251func (e * Echo ) HTTP2 (on bool ) {
252252 e .http2 = on
253253}
@@ -272,7 +272,7 @@ func (e *Echo) SetRenderer(r Renderer) {
272272 e .renderer = r
273273}
274274
275- // SetDebug enables/disables debug mode.
275+ // SetDebug enable/disable debug mode.
276276func (e * Echo ) SetDebug (on bool ) {
277277 e .debug = on
278278}
@@ -282,7 +282,7 @@ func (e *Echo) Debug() bool {
282282 return e .debug
283283}
284284
285- // AutoIndex enables/disables automatically creating an index page for the directory.
285+ // AutoIndex enable/disable automatically creating an index page for the directory.
286286func (e * Echo ) AutoIndex (on bool ) {
287287 e .autoIndex = on
288288}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ and message `HTTPError.Message`.
2323
2424` Echo#SetDebug(on bool) `
2525
26- Enables/disables debug mode.
26+ Enable/disable debug mode.
2727
2828### Log prefix
2929
@@ -47,13 +47,13 @@ SetLogLevel sets the log level for the logger. Default value is `log.INFO`.
4747
4848` echo#HTTP(on bool) `
4949
50- HTTP2 enables/disables HTTP2 support.
50+ Enable/disable HTTP2 support.
5151
5252### Auto index
5353
5454` Echo#AutoIndex(on bool) `
5555
56- AutoIndex enables/disables automatically creating an index page for the directory.
56+ Enable/disable automatically creating an index page for the directory.
5757
5858* Example*
5959
You can’t perform that action at this time.
0 commit comments