capnproto / go-capnp

Cap'n Proto library and code generator for Go
https://capnproto.org
Other
1.22k stars 110 forks source link

Update README.md #553

Closed spikebike closed 5 months ago

spikebike commented 8 months ago

This README update shows a work around that fixes the examples with newer versions of go, which mentions using 3.0 or the newest tagged release will fix the problem.

lthibault commented 8 months ago

Thanks for writing this up! Out of curiosity, had you seen this when trying for the first time? It's linked in the "Getting Started" section in the README.

I think we ought to clarify instructions either in the root-level README, or in the Wiki (preferred). I'm not sure it's such a good idea to duplicate/fragment instructions in the examples.

lthibault commented 5 months ago

After thinking about this some more, I'm closing this issue because go 1.18 isn't supported. In fact, we should probably bump our minimum version to 1.21 at this point.

Thank you for submitting this nevertheless. I really appreciate it.