1
0
mirror of https://github.com/labstack/echo.git synced 2025-09-16 09:16:29 +02:00

Fixed godoc example

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-04-05 15:51:15 -07:00
parent 3abab4895f
commit 28fb57585b

View File

@@ -1,5 +1,5 @@
/*
Package echo implements a fast and unfancy micro web framework for Go.
Package echo implements a fast and unfancy web framework for Go (Golang).
Example:
@@ -14,10 +14,8 @@ Example:
)
// Handler
func hello() echo.HandlerFunc {
return func(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!\n")
}
func hello(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!")
}
func main() {