Postgres Example
Fyb3roptik opened this issue · comments
Nick Wallace commented
I have tried everything and for the life of me I cannot get Postgres to work. Can I get an example for connecting using postgres?
Thanks!
Gediminas Morkevicius commented
Hi, the postgres sql driver is also tested in txdb tests. That should be enough as an example. Just check the test.go files.
Nick Wallace commented
The issue for me was I am using go-pg and it does not use the sql.DB driver and instead uses its own. I might have a go at trying to integrate support for it here
Gediminas Morkevicius commented
well, txdb is only compatible with standard go sql library.