Skip to content

Commit

Permalink
Fixed godoc example
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Apr 5, 2016
1 parent 3abab48 commit 28fb575
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions echo.go
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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() {
Expand Down

0 comments on commit 28fb575

Please sign in to comment.