Re:REST Servers in Go: Part 1 – standard library
by whoisjohnkid on Sunday January 17, 2021 @07:50AM
(#25810271)
Have you looked into goa design[1]? You define your services with a contract via their DSL and it generates all code for you as well; has some nice validation options out of the box.
- similar to grpc gateway you just need to conform to the generated code’s service interface.
I believe it supports, http, websocket and grpc.
[1]https://github.com/goadesign/goa