blob: b70eebf01cfc59a53e5fca8d469b2cb4e0078eea (
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")
})
}
|