fileconst
Turns text file contents into Go constants (by PennState)
proteus
A simple tool for generating an application's data access layer. (by jonbodner)
fileconst | proteus | |
---|---|---|
1 | 2 | |
2 | 195 | |
- | - | |
0.0 | 3.5 | |
over 1 year ago | 6 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
fileconst
Posts with mentions or reviews of fileconst.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-08.
-
We Went All in on Sqlc/Pgx for Postgres and Go
I like SQL queries as strings but I also like my IDE to syntax check them ... Since there are already so many kinds to projects in this thread I'll happily introduce fileconst which provides the best of both worlds - https://github.com/PennState/fileconst.
proteus
Posts with mentions or reviews of proteus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-16.
-
ORM vs SQL Builder in Go
I have a SQL mapping tool called Proteus at https://github.com/jonbodner/proteus . I spoke about its design and performance at GopherCon 2017: https://www.youtube.com/watch?v=hz6d7rzqJ6Q
-
We Went All in on Sqlc/Pgx for Postgres and Go
If you are looking for a way to map SQL queries to type safe Go functions, take a look at my library Proteus: https://github.com/jonbodner/proteus
Proteus generates functions at runtime, avoiding code generation. Performance is identical to writing SQL mapping code yourself. I spoke about its implementation at GopherCon 2017: https://www.youtube.com/watch?v=hz6d7rzqJ6Q
What are some alternatives?
When comparing fileconst and proteus you can also consider the following projects:
ccgo
sqlite
gnorm - A database-first code generator for any language
pggen - A database first code generator focused on postgres
pike - Generate CRUD gRPC backends from single YAML description.
bazel-postgres-sketch
goyesql - Parse SQL files with multiple named queries and automatically prepare and scan them into structs.
jet - Type safe SQL builder with code generation and automatic query result data mapping
sqlparser-rs - Extensible SQL Lexer and Parser for Rust