1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-29 21:56:53 +02:00
Merten van Gerven 5ee38fbfb6 Fixed typo
2015-10-12 14:24:23 +02:00

20 lines
327 B
Go

package main
import (
"net/http"
"time"
"github.com/labstack/echo"
"github.com/tylerb/graceful"
)
func main() {
// Setup
e := echo.New()
e.Get("/", func(c *echo.Context) error {
return c.String(http.StatusOK, "Sue sews rose on slow joe crows nose")
})
graceful.ListenAndServe(e.Server(":1323"), 5*time.Second)
}