Releases: chrisyxlee/pgxpoolmock
Releases · chrisyxlee/pgxpoolmock
v1.1.4
What's Changed
- 🌱 add SQLC binary and generate test schema and queries by @chrisyxlee in #4
- ✨ add mock for pgx.BatchResults by @chrisyxlee in #5
- 🌱 update Row mock to also return error by @chrisyxlee in #6
- 🌱 update order_dao_example_test.go with batch example by @chrisyxlee in #7
- 🌱 add errors to use for batch result end by @chrisyxlee in #8
- 📖 update README by @chrisyxlee in #9
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
- 🔧 update vendors by @chrisyxlee in #1
- 🔧 bump versions, update vendor dependencies by @chrisyxlee in #2
- ✨ add matcher for sql query containing string by @chrisyxlee in #3
Full Changelog: v1.1.2...v1.1.3
v1.1.2
Updated go.mod
Full Changelog: v1.1.1...v1.1.2
v1.1.1
- Combine
pgxpool.PgxPool
andpgx.Tx
into one interface so that transactions started through the pool can be tested with the same object. - Add implementation for pgx.Row so that
QueryRow
can be tested.
Full Changelog: v1.1.0...v1.1.1