Skip to content

Instantly share code, notes, and snippets.

@chris001177
Created October 24, 2019 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris001177/e56a0dd0f425ec8bd2e4cb755b8836ec to your computer and use it in GitHub Desktop.
Save chris001177/e56a0dd0f425ec8bd2e4cb755b8836ec to your computer and use it in GitHub Desktop.
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, "Hello, World!")
})
e.Logger.Fatal(e.Start(":1323"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment