You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all: use modern Go syntax (e.g. any instead of interface{}) (#59)
This change was generated by running:
```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
```
Two things are changed:
- All `interface{}` types are changed to `any`.
This has been available since Go 1.18.
- Stops capturing loop variables for closures inside loops.
This has been unnecessary since Go 1.22.
(https://go.dev/blog/loopvar-preview)
Co-authored-by: Emi <emi@hexops.com>
0 commit comments