goyesql
Parse SQL files with multiple named queries and automatically prepare and scan them into structs. (by knadh)
pike
Generate CRUD gRPC backends from single YAML description. (by sashabaranov)
goyesql | pike | |
---|---|---|
2 | 2 | |
44 | 307 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | almost 2 years ago | |
Go | Go | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goyesql
Posts with mentions or reviews of goyesql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-08.
-
How to deal with long select query in go?
Write it in a sql file then use a library like https://github.com/knadh/goyesql to load them into a struct. I prefer doing this with all my code. The SQL is also auditable.
-
We Went All in on Sqlc/Pgx for Postgres and Go
sqlc looks very interesting and compelling. A similar library I like but haven't had the chance to really use is goyesql: https://github.com/knadh/goyesql
It also allows just writing SQL in a file, reminds me a bit of JDBI in Java.
pike
Posts with mentions or reviews of pike.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-08.
-
ImagineAI: A code generator that turns your app spec into a Node project
I've also taken a shot at a similar thing (no GUI though!) https://github.com/sashabaranov/pike
-
We Went All in on Sqlc/Pgx for Postgres and Go
> - Write custom query language (YAML or other), generate SQL schema, queries, and Go query interface (xo).
I've also tried to unify this approach with gRPC/Protobuf messages and CRUD operations: https://github.com/sashabaranov/pike/
What are some alternatives?
When comparing goyesql and pike you can also consider the following projects:
bazel-postgres-sketch
rules_nixpkgs - Rules for importing Nixpkgs packages into Bazel.
sqlparser-rs - Extensible SQL Lexer and Parser for Rust
pggen - Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
gnorm - A database-first code generator for any language
sqlite
goqu - SQL builder and query library for golang
ccgo
pronto - Protobuf ORM