- Copy
example.env
todev.env
and set the variables
cp example.env dev.env
air
for live reloading
go install github.com/cosmtrek/air@latest
- By default
dev
is configured topostgres
container - if you want to use
mysql
changecmd/cmd.go
with mysql db connection (already there) - and update
Makefile's
dev
script to usemysql
container (already there)
make dev
make test