Todo/pages/root.go
2024-08-17 22:29:25 -06:00

12 lines
199 B
Go

package pages
import (
"net/http"
"github.com/Cameron-Reed1/todo-web/pages/templates"
)
func RootPage(w http.ResponseWriter, r *http.Request) {
templates.RootPage().Render(r.Context(), w)
}