2023-12-19 13:22:13 +01:00
|
|
|
package main
|
|
|
|
|
2023-12-19 14:04:28 +01:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
"github.com/labstack/echo/v4"
|
|
|
|
)
|
2023-12-19 13:22:13 +01:00
|
|
|
|
|
|
|
func main() {
|
2023-12-19 14:04:28 +01:00
|
|
|
e := echo.New()
|
|
|
|
e.GET("/", func(c echo.Context) error {
|
|
|
|
return c.String(http.StatusOK, "Hello, World!")
|
|
|
|
})
|
|
|
|
e.Logger.Fatal(e.Start(":1323"))
|
2023-12-19 13:22:13 +01:00
|
|
|
}
|