mirror of
https://github.com/labstack/echo.git
synced 2025-11-06 08:59:21 +02:00
Added X() method to return context
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -53,7 +53,7 @@ e.Get("/hello", Hello)
|
||||
- Render template
|
||||
|
||||
```go
|
||||
func Hello(c *echo.Context) error {
|
||||
func Hello(c echo.Context) error {
|
||||
return c.Render(http.StatusOK, "hello", "World")
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user