Todo/pages/root.go

12 lines
199 B
Go
Raw Normal View History

2024-08-18 04:29:25 +00:00
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)
}