working version

This commit is contained in:
Dmitry Fedotov
2025-05-04 21:13:19 +03:00
parent ff386892e4
commit b6dc6d3fce
10 changed files with 277 additions and 131 deletions

7
test/Makefile Normal file
View File

@@ -0,0 +1,7 @@
.PHONY: test
test:
docker run --rm -d -e POSTGRES_PASSWORD=postgres --name test-postgres -p 5432:5432 postgres:15.6-bookworm
sleep 10
PGX_DSN=postgres://postgres:postgres@127.0.0.1:5432 go test -v -cover
docker stop test-postgres