20bcc757
webhooks: improve usage of slices.Contains
This was (rightfully) suggested by modernize [1], but the result can be easily improved even further. [1] https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
Conrad Hoffmann <ch@bitfehler.net> — 2025-10-24 14:20:39 UTC
Commit 20bcc75798af1bde6752afb6052a335fd8bf8a87 —
view raw patch
Parent(s):
39c3fd1e
| File | Status | + | − |
|---|---|---|---|
webhooks/legacy.go
|
M | +1 | -5 |