all: use any instead of interface{}
Created by: keegancsmith
Now that we require go1.18, we can use a builtin type alias for interface{}
: any
. I've updated all code except lib, which can be imported by external modules. That is currently pinned at go1.16. Additionally I had to rerun generate since rewriting generated go code will fail CI.
find -name '*.go' | xargs gofmt -s -r 'interface{} -> any' -w
git checkout lib
go generate ./...
Test Plan: CI will exercise that the code still compiles. Otherwise this is a noop.