mirror of
https://github.com/labstack/echo.git
synced 2025-01-24 03:16:14 +02:00
Minor documentation correction (#742)
This commit is contained in:
parent
054a310e70
commit
d4dff985fa
2
echo.go
2
echo.go
@ -459,7 +459,7 @@ func (e *Echo) Routes() []Route {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// AcquireContext returns an empty `Context` instance from the pool.
|
// AcquireContext returns an empty `Context` instance from the pool.
|
||||||
// You must be return the context by calling `ReleaseContext()`.
|
// You must return the context by calling `ReleaseContext()`.
|
||||||
func (e *Echo) AcquireContext() Context {
|
func (e *Echo) AcquireContext() Context {
|
||||||
return e.pool.Get().(Context)
|
return e.pool.Get().(Context)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user