Up app and database
docker-compose --profile all up
Up database and start app
docker-compose --profile depends up
go mod tidy
go run cmd/main.go
# or
air
Run migrations
migrate -path database/migrations/ -database "mysql://user:1234@tcp(0.0.0.0:3306)/go_gin_gonic?charset=utf8mb4&parseTime=True&loc=Local" up
Run tests (optional)
go test -count=1 ./... -v