1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
593bc9715c Add example of tests with isolated schema 2024-07-01 21:02:04 +03:00
05d30f6c09 Add example of tests with transactional cleanup 2024-07-01 21:02:04 +03:00
13e3596692 Rename function for isolated database connection
Other ways to clean the database in tests will be added soon, so the
tests are being moved to a separate file.
2024-07-01 21:02:04 +03:00
912e9c9ab0 Migrate to sql.DB driver
This is to reduce dependency on a particular driver. In the future this
will be used to implement different ways of cleaning the database.
2024-07-01 21:02:04 +03:00
b346272f7f Publish an example testing go code with Postgres 2023-07-05 01:31:59 +03:00