-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I don't understand why this code should be flagged. Any explanation or realistic reason would be appreciated for going deep to raise the flag.
Thanks
// github.com/go-chi/chi/v5
// parameter is set as normal using `"/{id}"`
func find(w http.ResponseWriter, r *http.Request) {
id := chi.URLParam(r, "id")
}Function `URLParam->URLParam` should pass the context parameter (contextcheck)
id := chi.URLParam(r, "id")Using:
- golangci-lint has version 1.49.0
Metadata
Metadata
Assignees
Labels
No labels