diff --git a/main.go b/main.go index fec5edc..1877806 100644 --- a/main.go +++ b/main.go @@ -1,10 +1,8 @@ package main import ( - "io" "log" "net/http" - "text/template" "goth.stack/api" "goth.stack/pages" @@ -15,16 +13,6 @@ import ( "github.com/uptrace/bunrouter/extra/reqlog" ) -// Template Type -type Template struct { - templates *template.Template -} - -// Template Render function -func (t *Template) Render(w io.Writer, name string, data interface{}) error { - return t.templates.ExecuteTemplate(w, name, data) -} - func main() { godotenv.Load(".env")