cmd/main.go
package main
import (
"net/http"
"github.com/labstack/echo"
)
func main() {
e := echo.New()
e.GET("/", func(c echo.Context) error {
return c.String(http.StatusOK, "RealWorld!")
})
e.Logger.Fatal(e.Start(":3333"))
}
go run cmd/main.go