233 B
233 B
Setup the dev env
Just run the docker-compose file to create the database.
docker-compose up -d
Run the tests
POSTGRES_DSN="postgres://test:test@127.0.0.1:5432/test?sslmode=disable" go test -v -p=1 ./...