From 28fb57585b3d1ab2dc7ee3ea4faa45a52d0accda Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Tue, 5 Apr 2016 15:51:15 -0700 Subject: [PATCH] Fixed godoc example Signed-off-by: Vishal Rana --- echo.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/echo.go b/echo.go index 2e5f7ba4b..de6d96a12 100644 --- a/echo.go +++ b/echo.go @@ -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() {