https://github.com/pashagolub/pgxmock
database go golang pgx postgres postgresql sqlmock tdd
Score: 15.117936778764436
Last synced: about 1 hour ago
JSON representation
Repository metadata:
pgx mock driver for golang to test database interactions
- Host: GitHub
- URL: https://github.com/pashagolub/pgxmock
- Owner: pashagolub
- License: other
- Created: 2021-02-05T17:38:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2026-03-03T18:11:01.000Z (23 days ago)
- Last Synced: 2026-03-18T22:52:38.015Z (8 days ago)
- Topics: database, go, golang, pgx, postgres, postgresql, sqlmock, tdd
- Language: Go
- Homepage:
- Size: 313 KB
- Stars: 570
- Watchers: 4
- Forks: 68
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
-
Funding:
- Github: pashagolub
- Custom: https://revolut.me/pavlogolub
Owner metadata:
- Name: Pavlo Golub
- Login: pashagolub
- Email:
- Kind: user
- Description: I am a PostgreSQL expert and developer at @cybertec-postgresql from Ukraine🇺🇦, working with @postgres for {{ CURRENT_YEAR - 2002 }} years. 🐘
- Website: https://pashagolub.github.io/blog
- Location: Ukraine
- Twitter: PavloGolub
- Company: @cybertec-postgresql
- Icon url: https://avatars.githubusercontent.com/u/9463113?v=4
- Repositories: 25
- Last Synced at: 2025-10-19T11:49:43.724Z
- Profile URL: https://github.com/pashagolub
GitHub Events
Total
- Create event: 9
- Delete event: 4
- Fork event: 12
- Issue comment event: 39
- Issues event: 13
- Pull request event: 19
- Pull request review event: 4
- Push event: 11
- Release event: 4
- Watch event: 141
- Total: 256
Last Year
- Create event: 5
- Delete event: 1
- Fork event: 7
- Issue comment event: 16
- Issues event: 4
- Pull request event: 9
- Pull request review event: 4
- Push event: 4
- Release event: 2
- Watch event: 74
- Total: 126
Committers metadata
Last synced: 2 days ago
Total Commits: 243
Total Committers: 27
Avg Commits per committer: 9.0
Development Distribution Score (DDS): 0.329
Commits in past year: 9
Committers in past year: 5
Avg Commits per committer in past year: 1.8
Development Distribution Score (DDS) in past year: 0.556
| Name | Commits | |
|---|---|---|
| Pavlo Golub | p****b@g****m | 163 |
| dependabot[bot] | 4****] | 40 |
| sweep-ai[bot] | 1****] | 5 |
| Jason Brownstein | j****n@d****m | 4 |
| eklmv | e****l@g****m | 3 |
| David E. Wheeler | 4****y | 2 |
| Eng Zer Jun | e****n@g****m | 2 |
| Lorenzo Bompani | i****o@g****m | 2 |
| Steve Coffman | S****n | 2 |
| dependabot-preview[bot] | 2****] | 2 |
| labile | 1****e@g****m | 2 |
| hector.oliveros@wabtec.com | h****s@M****l | 1 |
| Adéwálé Afọlábí | a****i@g****m | 1 |
| Clayton Wheeler | c****r@g****m | 1 |
| Elviie | 8****a | 1 |
| Jason Murphy | d****3@g****m | 1 |
| Kevin M | 5****w | 1 |
| Ludmil Simeonov | y****s@g****m | 1 |
| Martin | m****l@g****m | 1 |
| NickBelhomme | c****t@n****m | 1 |
| Oleksandr Shvets | a****z@g****m | 1 |
| Pavel Ven Gulbin | 2****m@g****m | 1 |
| Scott Blackwood | s****d@a****i | 1 |
| Sejin Park | 4****P | 1 |
| Sven Buijsrogge | i****o@s****l | 1 |
| Túlio Guaraldo | 7****B | 1 |
| Vladimir Osokin | e****o@g****m | 1 |
Issue and Pull Request metadata
Last synced: 22 days ago
Total issues: 64
Total pull requests: 157
Average time to close issues: 22 days
Average time to close pull requests: 6 days
Total issue authors: 47
Total pull request authors: 33
Average comments per issue: 2.38
Average comments per pull request: 0.87
Merged pull request: 119
Bot issues: 0
Bot pull requests: 62
Past year issues: 3
Past year pull requests: 12
Past year average time to close issues: 9 minutes
Past year average time to close pull requests: 18 days
Past year issue authors: 3
Past year pull request authors: 7
Past year average comments per issue: 0.33
Past year average comments per pull request: 1.92
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- pashagolub (15)
- stori-rusher (2)
- StevenACoffman (2)
- jsnb-devoted (2)
- NickBelhomme (1)
- AshMcConnell (1)
- FryDay (1)
- eklmv (1)
- numberZero (1)
- fgm (1)
- gandarez (1)
- TheGrandmother (1)
- l1mey112 (1)
- sejin-P (1)
- jadahbakar (1)
Top Pull Request Authors
- dependabot[bot] (59)
- pashagolub (49)
- giuliocn (4)
- adanil (4)
- StevenACoffman (3)
- sweep-ai[bot] (3)
- theory (3)
- ertaquo (2)
- jsnb-devoted (2)
- lsimeonov (2)
- makubit (2)
- 2tvenom (2)
- svennis94 (2)
- Kavuti (1)
- kevin-matthew (1)
Top Issue Labels
- enhancement (13)
- question (12)
- bug (10)
- wontfix (8)
- stale (2)
- test (2)
- sweep (1)
- documentation (1)
Top Pull Request Labels
- dependencies (65)
- go (38)
- enhancement (37)
- bug (21)
- github_actions (13)
- documentation (8)
- test (6)
- wontfix (4)
- sweep (3)
- chore (3)
- stale (2)
- priority (1)
- question (1)
Package metadata
- Total packages: 5
- Total downloads: unknown
- Total dependent packages: 90 (may contain duplicates)
- Total dependent repositories: 149 (may contain duplicates)
- Total versions: 49
proxy.golang.org: github.com/pashagolub/pgxmock
package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking. The driver allows to mock any pgx driver method behavior.
- Homepage: https://github.com/pashagolub/pgxmock
- Documentation: https://pkg.go.dev/github.com/pashagolub/pgxmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.8.0 (published over 3 years ago)
- Last Synced: 2026-03-20T10:04:08.316Z (6 days ago)
- Versions: 14
- Dependent Packages: 49
- Dependent Repositories: 77
-
Rankings:
- Dependent repos count: 0.667%
- Dependent packages count: 0.679%
- Average: 2.5%
- Stargazers count: 4.195%
- Forks count: 4.462%
proxy.golang.org: github.com/pashagolub/pgxmock/v2
package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking. The driver allows to mock any pgx driver method behavior.
- Homepage: https://github.com/pashagolub/pgxmock
- Documentation: https://pkg.go.dev/github.com/pashagolub/pgxmock/v2#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v2.12.0 (published over 2 years ago)
- Last Synced: 2026-03-24T12:51:41.092Z (2 days ago)
- Versions: 15
- Dependent Packages: 36
- Dependent Repositories: 70
-
Rankings:
- Dependent repos count: 0.696%
- Dependent packages count: 0.8%
- Average: 2.535%
- Stargazers count: 4.184%
- Forks count: 4.462%
proxy.golang.org: github.com/pashagolub/pgxmock/v3
package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking. The driver allows to mock any pgx driver method behavior.
- Homepage: https://github.com/pashagolub/pgxmock
- Documentation: https://pkg.go.dev/github.com/pashagolub/pgxmock/v3#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v3.4.0 (published almost 2 years ago)
- Last Synced: 2026-03-19T10:00:49.490Z (7 days ago)
- Versions: 8
- Dependent Packages: 5
- Dependent Repositories: 2
-
Rankings:
- Dependent packages count: 2.505%
- Average: 3.461%
- Dependent repos count: 3.482%
- Stargazers count: 3.781%
- Forks count: 4.076%
proxy.golang.org: github.com/pashagolub/pgxmock/v5
package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking. The driver allows to mock any pgx driver method behavior.
- Homepage: https://github.com/pashagolub/pgxmock
- Documentation: https://pkg.go.dev/github.com/pashagolub/pgxmock/v5#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v5.0.1 (published 23 days ago)
- Last Synced: 2026-03-19T10:00:49.353Z (7 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.924%
- Average: 5.089%
- Dependent repos count: 5.254%
proxy.golang.org: github.com/pashagolub/pgxmock/v4
package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking. The driver allows to mock any pgx driver method behavior.
- Homepage: https://github.com/pashagolub/pgxmock
- Documentation: https://pkg.go.dev/github.com/pashagolub/pgxmock/v4#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v4.9.0 (published 6 months ago)
- Last Synced: 2026-03-19T10:00:50.190Z (7 days ago)
- Versions: 10
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.568%
- Average: 6.788%
- Dependent repos count: 7.009%
Dependencies
- github.com/jackc/chunkreader/v2 v2.0.1
- github.com/jackc/pgconn v1.12.1
- github.com/jackc/pgio v1.0.0
- github.com/jackc/pgpassfile v1.0.0
- github.com/jackc/pgproto3/v2 v2.3.0
- github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
- github.com/jackc/pgtype v1.11.0
- github.com/jackc/pgx/v4 v4.16.1
- github.com/jackc/puddle v1.2.1
- github.com/pashagolub/pgxstruct v0.0.0-20210217101842-40d357eec200
- golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871
- golang.org/x/text v0.3.7
- 161 dependencies
- actions/checkout v3 composite
- actions/setup-go v3 composite
- golangci/golangci-lint-action v3 composite
- shogo82148/actions-goveralls v1 composite
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- actions/stale v8 composite