~bigbes/core-go: 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 20bcc75798af1bde6752afb6052a335fd8bf8a87view raw patch

Parent(s): 39c3fd1e

1 changed file(s)

FileStatus+
webhooks/legacy.go M +1 -5