Initial commit.

This commit is contained in:
mikestefanello 2021-12-03 06:11:01 -05:00
commit 63f43e568c
23 changed files with 1199 additions and 0 deletions

18
controllers/home.go Normal file
View file

@ -0,0 +1,18 @@
package controllers
import (
"github.com/labstack/echo/v4"
)
type Home struct {
Controller
}
func (h *Home) Get(c echo.Context) error {
p := NewPage(c)
p.Layout = "main"
p.Name = "home"
p.Data = "Hello world"
return h.RenderPage(c, p)
}