go-project-template/web/index.go

12 lines
168 B
Go
Raw Permalink Normal View History

2024-07-25 05:13:23 +00:00
package web
import (
"net/http"
echo "github.com/labstack/echo/v4"
)
func index(c echo.Context) error {
return c.Render(http.StatusOK, "sample-page.html", nil)
}