atri.dad/pages/ssedemo.go
Atridad Lahiji 3d719132f1
Init
2024-02-15 09:07:09 -07:00

14 lines
296 B
Go

package pages
import (
"atri.dad/lib"
"github.com/labstack/echo/v4"
)
func SSEDemo(c echo.Context) error {
// Specify the partials used by this page
partials := []string{"header", "navitems"}
// Render the template
return lib.RenderTemplate(c.Response().Writer, "base", partials, nil)
}