package examples import ( "log/slog" "net/http" ) // Big bungus function here! // //hh:route GET /admin/users func adminUsersForm(w http.ResponseWriter, r struct { r *http.Request search string `hh:"form"` year int `hh:"optional,form"` offset int `hh:"form"` nextURL string `hh:"cookie,logout_next_url"` }) { _, _ = w.Write([]byte("ahahaha")) slog.Info("get admin users form", "search", r.search, "offset", r.offset, "next-url", r.nextURL) }