-
For this matter I chose sqlc which offers a good amount of features like support for different dbs and db drivers. Regarding db migrations, I prefer to run them isolated from the code. There are countless tools to manage migrations but recently I've been sticking with go-migrate which also provides a go library in case I want to integrate the migrations into the code.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
For this matter I chose sqlc which offers a good amount of features like support for different dbs and db drivers. Regarding db migrations, I prefer to run them isolated from the code. There are countless tools to manage migrations but recently I've been sticking with go-migrate which also provides a go library in case I want to integrate the migrations into the code.
-
A github actions workflow is provided to run go fmt, vet, test and gosec. An initial configuration for dependabot is also provided.
-
That's it, go take a look at the repo here.
-
I have recently adopted the practice of defining my db schemas using dbml and generating the sql code using their CLI tool. Example: This schema
-
Developer experience is a very important topic to me and I decided to use this project to find a reliable alternative to make. And that's how I found Task: