https://github.com/pashagolub/pgxmock
database go golang pgx postgres postgresql sqlmock tdd
Score: 14.980666855434556
Last synced: about 2 hours 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-10-29T12:44:54.000Z (3 months ago)
- Last Synced: 2026-01-31T00:03:24.855Z (5 days ago)
- Topics: database, go, golang, pgx, postgres, postgresql, sqlmock, tdd
- Language: Go
- Homepage:
- Size: 302 KB
- Stars: 559
- Watchers: 4
- Forks: 67
- 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: 11
- Issue comment event: 38
- Issues event: 13
- Pull request event: 19
- Pull request review event: 3
- Push event: 10
- Release event: 4
- Watch event: 138
- Total: 249
Last Year
- Create event: 7
- Delete event: 2
- Fork event: 8
- Issue comment event: 35
- Issues event: 9
- Pull request event: 14
- Pull request review event: 3
- Push event: 4
- Release event: 3
- Watch event: 102
- Total: 187
Committers metadata
Last synced: 8 months ago
Total Commits: 235
Total Committers: 24
Avg Commits per committer: 9.792
Development Distribution Score (DDS): 0.319
Commits in past year: 14
Committers in past year: 4
Avg Commits per committer in past year: 3.5
Development Distribution Score (DDS) in past year: 0.214
| Name | Commits | |
|---|---|---|
| Pavlo Golub | p****b@g****m | 160 |
| dependabot[bot] | 4****] | 40 |
| sweep-ai[bot] | 1****] | 5 |
| Jason Brownstein | j****n@d****m | 4 |
| eklmv | e****l@g****m | 3 |
| Eng Zer Jun | e****n@g****m | 2 |
| Lorenzo Bompani | i****o@g****m | 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 |
| Elviie | 8****a | 1 |
| Jason Murphy | d****3@g****m | 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 |
| Steve Coffman | S****n | 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: about 1 month ago
Total issues: 64
Total pull requests: 155
Average time to close issues: 22 days
Average time to close pull requests: 6 days
Total issue authors: 47
Total pull request authors: 32
Average comments per issue: 2.38
Average comments per pull request: 0.85
Merged pull request: 117
Bot issues: 0
Bot pull requests: 62
Past year issues: 6
Past year pull requests: 23
Past year average time to close issues: about 12 hours
Past year average time to close pull requests: 10 days
Past year issue authors: 5
Past year pull request authors: 8
Past year average comments per issue: 0.17
Past year average comments per pull request: 1.39
Past year merged pull request: 14
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)
- sweep-ai[bot] (3)
- theory (3)
- ertaquo (2)
- jsnb-devoted (2)
- lsimeonov (2)
- StevenACoffman (2)
- makubit (2)
- 2tvenom (2)
- svennis94 (2)
- Massinja (1)
- Kavuti (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 (36)
- bug (20)
- github_actions (13)
- documentation (8)
- test (6)
- wontfix (4)
- sweep (3)
- chore (3)
- stale (2)
- priority (1)
- question (1)
Package metadata
- Total packages: 4
- Total downloads: unknown
- Total dependent packages: 90 (may contain duplicates)
- Total dependent repositories: 149 (may contain duplicates)
- Total versions: 47
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-01-27T04:36:26.427Z (8 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-01-27T04:35:35.207Z (8 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-01-27T04:37:14.947Z (8 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/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 4 months ago)
- Last Synced: 2026-01-27T04:36:21.215Z (8 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