News for hackers. Stuff that matters.
Re:Goravel: A Go framework inspired by Laravel by bborud on Monday March 10, 2025 @07:35AM (#43319384)
ORMs tend to make things more complicated and usually slower. I'd recommend using SQLX. It is a nice half-way point. It eliminates most boilerplate, is going to be sufficiently performant for 99% of cases, and it reduces a lot of cases down to between 1 and 5 lines of code for simple CRUD operations. (Where it isn't fast enough you can easily fall back to using the SQL drivers directly.
Re:Goravel: A Go framework inspired by Laravel by whstl on Monday March 10, 2025 @09:16AM (#43320266)
I agree 100% with you, and this is how I build my stuff too!

I was just pointing out that framework-less Go projects can have SQLX, ORM, etc, if you want to!