Since Go 1.18, the any type is available to use in place of interface{}. The Go LSP (gopls) also raises a lint on instances of interface{} mentioning that it can be modernized to any (efaceany.go). Would we want to make protoc-gen-go use the any type going forward over the interface{} type? I'd be happy to contribute the PR for this.
Since Go 1.18, the
anytype is available to use in place ofinterface{}. The Go LSP (gopls) also raises a lint on instances ofinterface{}mentioning that it can be modernized toany(efaceany.go). Would we want to make protoc-gen-go use theanytype going forward over theinterface{}type? I'd be happy to contribute the PR for this.