stackrox / go-grpc-http1

A gRPC via HTTP/1 Enabling Library for Go
Apache License 2.0
116 stars 27 forks source link

bump required go version to 1.21 for main module and 1.22 for tools #217

Closed RTann closed 2 months ago

RTann commented 2 months ago

Go 1.21 brought go toolchain changes, which makes working with Go versions below 1.21 pretty annoying...

Also, 1.19 is pretty old at this point, so why not bump the minimum required version to 1.21. No need for 1.22 nor 1.23, as there is no reason someone using 1.21 cannot use this.

I bumped tools/go.mod to 1.22, though, due to https://github.com/stackrox/go-grpc-http1/pull/215