1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
echo/website/server.go
Vishal Rana e619a97607 Removed Makefile
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-01 12:16:37 -08:00

18 lines
229 B
Go

package main
import (
"github.com/labstack/echo"
mw "github.com/labstack/echo/middleware"
)
func main() {
e := echo.New()
e.Use(mw.Logger())
e.Use(mw.Recover())
e.Use(mw.Gzip())
e.Static("/", "public")
e.Run(":80")
}