39c3fd1e
Run modernize
See https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
It's mostly interface{} -> any, but also two quite useful applications
of slices.Contains.
Conrad Hoffmann <ch@bitfehler.net> — 2025-10-24 14:20:38 UTC
Commit 39c3fd1e41e30cc8ab4e8469248c9309eaa6a937 —
view raw patch
Parent(s):
3afc1a55
| File | Status | + | − |
|---|---|---|---|
auth/middleware.go
|
M | +2 | -2 |
client/graphql.go
|
M | +3 | -3 |
database/ql.go
|
M | +2 | -2 |
database/sq.go
|
M | +4 | -4 |
feature/header.go
|
M | +2 | -6 |
model/cursor.go
|
M | +1 | -1 |
model/id.go
|
M | +2 | -2 |
server/directives.go
|
M | +10 | -10 |
server/email.go
|
M | +1 | -1 |
valid/valid.go
|
M | +10 | -10 |
webhooks/context.go
|
M | +3 | -3 |
webhooks/legacy.go
|
M | +3 | -5 |
webhooks/queue.go
|
M | +2 | -2 |