Skip to content

Commit 5cd194b

Browse files
committed
Updated docs
Signed-off-by: Vishal Rana <[email protected]>
1 parent 2483d2a commit 5cd194b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

echo.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.
251251
func (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.
276276
func (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.
286286
func (e *Echo) AutoIndex(on bool) {
287287
e.autoIndex = on
288288
}

website/content/guide/customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)