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
83b2f61e41 Add interface do DB driver to repository
This abstraction is needed to add transactional cleanup in the future.
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
ca16e02007 Enable linter 'wsl'
This is a highly controversial linter, but it generally has a positive
effect on code readability.
2024-06-30 22:41:56 +03:00
b346272f7f Publish an example testing go code with Postgres 2023-07-05 01:31:59 +03:00