oto
oto copied to clipboard
Adopting Go generics
In the following article, it mentioned generics. Now the go 1.18 is released and has generics support, I was wondering if there is plan to take advantage of generics?
How code generation wrote our API and CLI.
When generics lands in Go, we will be able to reduce the amount of boilerplate code generated in favour of generic methods. In this world, we may not need to generate much plumbing code at all.
Answering my own question.
In the following talk during Q&A session (time 42:24), Mat mentioned that oto probably will not benefit much from Go generics.
BelfastGophers October 2020: Mat Ryer - Oto, a simple RPC JSON/HTTP alternative approach to gRPC https://youtu.be/DUg4ZITwMys?t=2544