2 ms·
sqlc.dev plus gongular and you have a quick REST api sqlc.dev plus gql-gen and you have a quick GraphQL server sqlc.dev plus goa.design and you have a full-fe
by Xeoncross 4y ago
sqlc.dev plus gongular and you have a quick REST api
sqlc.dev plus gql-gen and you have a quick GraphQL server
sqlc.dev plus goa.design and you have a full-featured REST + gRPC server with OpenAPI for easy client generation
No need to write model code and validation for inputs/outputs. Just define your SQL queries and your request objects (or typedefs for GraphQL) and then let these tools generate everything else.
- lprd 4y agoYou've piqued my interest. Do you know of any OSS repos that implement any of these?
- Xeoncross 4y agoNo, I'd really like to see this change as I feel there are a lot of hidden gems in the Go ecosystem. Developers arrive in Go, find Gin and start making their Rails/Laravel/Express.js MVC framework without realizing Go offers some alternatives by it's design (Rust too!)