pcmt/app/routes.go

19 lines
277 B
Go
Raw Normal View History

2023-03-22 23:03:21 +01:00
package app
import (
"net/http"
"github.com/labstack/echo/v4"
)
func (a *App) SetupRoutes() {
e := a.E()
e.GET("/", func(c echo.Context) error {
return c.NoContent(http.StatusOK)
})
e.HEAD("/", func(c echo.Context) error {
return c.NoContent(http.StatusOK)
})
}