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 {
247
247
return e .logger
248
248
}
249
249
250
- // HTTP2 enables/disables HTTP2 support.
250
+ // HTTP2 enable/disable HTTP2 support.
251
251
func (e * Echo ) HTTP2 (on bool ) {
252
252
e .http2 = on
253
253
}
@@ -272,7 +272,7 @@ func (e *Echo) SetRenderer(r Renderer) {
272
272
e .renderer = r
273
273
}
274
274
275
- // SetDebug enables/disables debug mode.
275
+ // SetDebug enable/disable debug mode.
276
276
func (e * Echo ) SetDebug (on bool ) {
277
277
e .debug = on
278
278
}
@@ -282,7 +282,7 @@ func (e *Echo) Debug() bool {
282
282
return e .debug
283
283
}
284
284
285
- // AutoIndex enables/disables automatically creating an index page for the directory.
285
+ // AutoIndex enable/disable automatically creating an index page for the directory.
286
286
func (e * Echo ) AutoIndex (on bool ) {
287
287
e .autoIndex = on
288
288
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ and message `HTTPError.Message`.
23
23
24
24
` Echo#SetDebug(on bool) `
25
25
26
- Enables/disables debug mode.
26
+ Enable/disable debug mode.
27
27
28
28
### Log prefix
29
29
@@ -47,13 +47,13 @@ SetLogLevel sets the log level for the logger. Default value is `log.INFO`.
47
47
48
48
` echo#HTTP(on bool) `
49
49
50
- HTTP2 enables/disables HTTP2 support.
50
+ Enable/disable HTTP2 support.
51
51
52
52
### Auto index
53
53
54
54
` Echo#AutoIndex(on bool) `
55
55
56
- AutoIndex enables/disables automatically creating an index page for the directory.
56
+ Enable/disable automatically creating an index page for the directory.
57
57
58
58
* Example*
59
59
You can’t perform that action at this time.
0 commit comments