1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-17 21:08:05 +02:00

adding godoc introduction

This commit is contained in:
Chase Hutchins 2016-01-29 06:42:28 -08:00
parent 5940691448
commit ad46da8f77

31
echo.go
View File

@ -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 (