blob: 41f2fe50475181e2cc854308cc781c9f2e07df3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package backend
import (
"net/http"
"github.com/go-chi/chi/v5"
)
func HandleHome(r *chi.Mux) {
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
new(data).handleGeneric(w, r, "home", nil)
})
}
|