diff --git a/echo.go b/echo.go index b67e5449..1f21863b 100644 --- a/echo.go +++ b/echo.go @@ -1,3 +1,34 @@ +/* +Package echo implements a fast and unfancy micro web framework for Go. + +Example: + + package main + + import ( + "net/http" + + "github.com/labstack/echo" + mw "github.com/labstack/echo/middleware" + ) + + func hello(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!\n") + } + + func main() { + e := echo.New() + + e.Use(mw.Logger()) + e.Use(mw.Recover()) + + e.Get("/", hello) + + e.Run(":1323") + } + +Learn more at https://labstack.com/echo +*/ package echo import (