1
0
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:
Vishal Rana
2015-12-04 08:13:26 -08:00
parent 72459fe299
commit 0884290766
27 changed files with 105 additions and 97 deletions

View File

@@ -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")
}
```