diff --git a/main.go b/main.go index e90fba2..f6f5d59 100644 --- a/main.go +++ b/main.go @@ -2,22 +2,9 @@ package main import ( "fmt" - "github.com/labstack/echo/v4" "github.com/oscarmlage/wikingo/server" - "html/template" - "io" ) -// Define the template registry struct -type TemplateRegistry struct { - templates *template.Template -} - -// Implement e.Renderer intercace -func (t *TemplateRegistry) Render(w io.Writer, name string, data interface{}, c echo.Context) error { - return t.templates.ExecuteTemplate(w, name, data) -} - func main() { fmt.Println("Starting wikingo...")