-
The ent orm for golang actually does some useful work for you. https://github.com/ent/ent
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
The property of composable queries is not unique to (or dare I say even characteristic of) ORMs, which are primarily concerned with mapping between relations (in the relational algebra sense) or tables, and in-memory objects.
It's the modelling of SQL as an AST that gives you that composability, and this does not require an ORM; see for instance arel (even though this was later absorbed into Rails' ActiveRecord as an implementation detail). [0]
[0] https://github.com/brynary/arel
-
I can't find an equivalent for Go. https://github.com/sqlc-dev/sqlc and https://github.com/sqlc-dev/sqlc look nice, but they are doing codegen, definitely not as sleek as Rust sqlx.
I guess it's a good example of how powerful Rust is. The "magic" that sqlx does at compile time gets really difficult if not impossible to do without macros.
Of course you could create a separate parser/builder, and codegen works as well, but definitely not as convenient and flexible.
-
> I still sometimes get lifetime errors that I donโt understand.
I'd like to remind people that errors you don't understand are bugs and I'd encourage you all to file a ticket when encountering any: https://github.com/rust-lang/rust/issues/new?assignees=&labe...
-
Tauri is definitely a hot SEO keyword!
I had not heard of https://wails.io before for Golang GUIs, only https://fyne.io which renders its own controls.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives