https://github.com/data-dog/go-sqlmock
database go golang mock sql sql-driver tdd testing
Score: 34.42059467976523
Last synced: about 5 hours ago
JSON representation
Repository metadata:
Sql mock driver for golang to test database interactions
- Host: GitHub
- URL: https://github.com/data-dog/go-sqlmock
- Owner: DATA-DOG
- License: other
- Created: 2014-02-07T07:59:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T10:51:41.000Z (over 1 year ago)
- Last Synced: 2025-12-14T10:48:37.502Z (about 2 months ago)
- Topics: database, go, golang, mock, sql, sql-driver, tdd, testing
- Language: Go
- Size: 305 KB
- Stars: 6,493
- Watchers: 50
- Forks: 404
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
-
Funding:
- Github: l3pp4rd, gliptak, dolmen, IvoGoman
Owner metadata:
- Name: DATA-DOG
- Login: DATA-DOG
- Email: info@data-dog.co.uk
- Kind: organization
- Description: Happy awesome developers
- Website: http://data.dog
- Location: Kaunas
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/6613360?v=4
- Repositories: 28
- Last Synced at: 2023-08-13T07:20:42.863Z
- Profile URL: https://github.com/DATA-DOG
GitHub Events
Total
- Fork event: 9
- Issue comment event: 10
- Issues event: 5
- Member event: 1
- Pull request event: 2
- Pull request review event: 1
- Watch event: 360
- Total: 388
Last Year
- Fork event: 8
- Issue comment event: 8
- Issues event: 4
- Member event: 1
- Pull request event: 2
- Pull request review event: 1
- Watch event: 288
- Total: 312
Committers metadata
Last synced: 23 days ago
Total Commits: 183
Total Committers: 43
Avg Commits per committer: 4.256
Development Distribution Score (DDS): 0.59
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| gedi | g****s@g****m | 75 |
| Nikita Koryabkin | n****n@i****m | 14 |
| Gábor Lipták | g****k@g****m | 13 |
| Olivier Mengué | d****n@c****g | 10 |
| Ivo Gosemann | i****n@s****m | 6 |
| Theo | t****s@t****m | 5 |
| Benjamin Rupp | b****p@c****m | 5 |
| Jan Waś | j****n@g****m | 5 |
| Ajitem Sahasrabuddhe | a****s@o****m | 4 |
| Luigi Kapaj | L****j@N****m | 3 |
| Neenad Ingole | n****8@g****m | 3 |
| THOTHADRI RAJESH VIDYASANKAR | t****r@s****m | 3 |
| Jamie Cuthill | j****l@s****k | 2 |
| Kyril Revels | k****s@r****m | 2 |
| Matthew Huxtable | m****e@s****k | 2 |
| Ahmad Muzakki | m****9@g****m | 2 |
| Alexey Palazhchenko | a****o@g****m | 2 |
| Hebo | d****e@g****m | 2 |
| sekky0905 | k****5@g****m | 1 |
| koki.hatano | k****o@z****m | 1 |
| bearname | y****f@g****m | 1 |
| ashhadsheikh | a****h@h****m | 1 |
| Woody1193 | r****3@g****m | 1 |
| RJ | w****j | 1 |
| Pawan-Bishnoi | p****i@o****m | 1 |
| Algirdas Matas | a****s@d****t | 1 |
| Craig Jackson | c****n@t****m | 1 |
| Jan Was | j****s@f****m | 1 |
| Wachowski | m****i@r****s | 1 |
| Omni Adams | o****s@o****m | 1 |
| and 13 more... | ||
Issue and Pull Request metadata
Last synced: 2 months ago
Total issues: 105
Total pull requests: 57
Average time to close issues: over 1 year
Average time to close pull requests: over 1 year
Total issue authors: 100
Total pull request authors: 35
Average comments per issue: 2.82
Average comments per pull request: 1.46
Merged pull request: 19
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 4
Past year average time to close issues: N/A
Past year average time to close pull requests: 15 minutes
Past year issue authors: 3
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.25
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- raghvendra-dixit (2)
- raxod502-plaid (2)
- roshandcoo7 (2)
- afzalabbasi (2)
- majidbl (2)
- RedMarcher (1)
- crevillo (1)
- justman00 (1)
- KarthikNayak (1)
- franklingu (1)
- MudassarBashir (1)
- Gilthoniel (1)
- rvmishra (1)
- droslean (1)
- jmuwfq (1)
Top Pull Request Authors
- IvoGoman (4)
- rsanjayam1 (3)
- zhashkevych (2)
- JasonnnW3000 (2)
- dthadi3 (2)
- sfc-gh-tvidyasankar (2)
- yashschandra (2)
- cleroux (2)
- sivchari (2)
- m36sathishKumar (2)
- dantedenis (2)
- MasterCarl (2)
- genisysram (2)
- kooksee (2)
- fatelei (2)
Top Issue Labels
- question (6)
- wontfix (5)
- enhancement (4)
- needs-info (3)
- bug (2)
- good-first-issue (1)
- invalid (1)
- help-wanted (1)
- needs-investigation (1)
Top Pull Request Labels
- needs-info (1)
Package metadata
- Total packages: 22
- Total downloads: unknown
- Total docker downloads: 3,162,447,230
- Total dependent packages: 4,453 (may contain duplicates)
- Total dependent repositories: 20,578 (may contain duplicates)
- Total versions: 331
proxy.golang.org: github.com/DATA-DOG/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-12T14:25:43.147Z (25 days ago)
- Versions: 17
- Dependent Packages: 3,872
- Dependent Repositories: 19,494
- Docker Downloads: 1,090,226,075
-
Rankings:
- Dependent repos count: 0.049%
- Dependent packages count: 0.059%
- Docker downloads count: 0.123%
- Average: 0.527%
- Stargazers count: 0.932%
- Forks count: 1.472%
proxy.golang.org: gopkg.in/DATA-DOG/go-sqlmock.v1
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqlmock
- Documentation: https://pkg.go.dev/gopkg.in/DATA-DOG/go-sqlmock.v1#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.3.0 (published over 8 years ago)
- Last Synced: 2026-01-14T10:07:57.336Z (23 days ago)
- Versions: 8
- Dependent Packages: 564
- Dependent Repositories: 1,019
- Docker Downloads: 2,000,041,467
-
Rankings:
- Dependent packages count: 0.16%
- Docker downloads count: 0.165%
- Dependent repos count: 0.242%
- Average: 0.594%
- Stargazers count: 0.932%
- Forks count: 1.472%
proxy.golang.org: gopkg.in/DATA-DOG/go-sqlmock.v2
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqlmock
- Documentation: https://pkg.go.dev/gopkg.in/DATA-DOG/go-sqlmock.v2#section-documentation
- Licenses: BSD-3-Clause
- Latest release: (published 26 days ago)
- Last Synced: 2026-01-10T19:19:27.648Z (26 days ago)
- Versions: 0
- Dependent Packages: 16
- Dependent Repositories: 62
- Docker Downloads: 31
-
Rankings:
- Dependent repos count: 0.742%
- Stargazers count: 0.932%
- Average: 1.102%
- Dependent packages count: 1.264%
- Forks count: 1.472%
proxy.golang.org: github.com/data-dog/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/data-dog/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/data-dog/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2025-12-08T20:15:01.241Z (about 2 months ago)
- Versions: 17
- Dependent Packages: 1
- Dependent Repositories: 1
- Docker Downloads: 72,179,657
-
Rankings:
- Docker downloads count: 0.272%
- Stargazers count: 0.938%
- Forks count: 1.496%
- Average: 2.646%
- Dependent repos count: 4.709%
- Dependent packages count: 5.812%
proxy.golang.org: gopkg.in/data-dog/go-sqlmock.v2
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/data-dog/go-sqlmock
- Documentation: https://pkg.go.dev/gopkg.in/data-dog/go-sqlmock.v2#section-documentation
- Licenses: BSD-3-Clause
- Latest release: (published about 2 months ago)
- Last Synced: 2025-12-08T20:15:06.347Z (about 2 months ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 2
-
Rankings:
- Stargazers count: 0.938%
- Forks count: 1.495%
- Dependent repos count: 3.488%
- Average: 3.868%
- Dependent packages count: 9.553%
proxy.golang.org: github.com/Data-Dog/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/Data-Dog/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/Data-Dog/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-10T09:38:25.100Z (27 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-DOG/go-SqlMock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-SqlMock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-SqlMock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2025-12-08T20:14:04.413Z (about 2 months ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-DOG/go-Sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-Sqlmock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-Sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-12T06:46:18.776Z (25 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/Data-DOG/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/Data-DOG/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/Data-DOG/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-11T21:18:28.799Z (25 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-DOG/go-sqlMock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqlMock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-sqlMock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-11T03:33:30.879Z (26 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-DOG/go-SQLMock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-SQLMock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-SQLMock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2025-12-10T21:05:34.802Z (about 2 months ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-DOg/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOg/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/DATA-DOg/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-10T09:17:30.560Z (27 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.593%
- Forks count: 0.936%
- Average: 4.469%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DAtA-DOG/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DAtA-DOG/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/DAtA-DOG/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-10T19:41:26.280Z (26 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.792%
- Forks count: 1.325%
- Average: 4.742%
- Dependent packages count: 7.484%
- Dependent repos count: 9.365%
proxy.golang.org: github.com/DATA-dOG/go-sqlmock
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DATA-dOG/go-sqlmock#section-documentation
- Licenses:
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2025-12-17T09:51:58.856Z (about 2 months ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.043%
- Average: 5.212%
- Dependent repos count: 5.381%
proxy.golang.org: github.com/DATA-DOG/go-sqlmocK
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqlmocK
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-sqlmocK#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-10T19:14:52.940Z (26 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.889%
- Forks count: 1.409%
- Average: 5.26%
- Dependent packages count: 8.463%
- Dependent repos count: 10.279%
proxy.golang.org: github.com/DATA-Dog/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-Dog/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/DATA-Dog/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-13T23:57:28.039Z (23 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.889%
- Forks count: 1.399%
- Average: 5.445%
- Dependent packages count: 8.8%
- Dependent repos count: 10.691%
proxy.golang.org: github.com/DATA-DOG/go-sqLmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/go-sqLmock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/go-sqLmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-10T10:34:40.773Z (27 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.623%
- Average: 5.812%
- Dependent repos count: 6.001%
proxy.golang.org: github.com/DATA-DOG/GO-SQLmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-DOG/GO-SQLmock
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/GO-SQLmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-11T00:04:14.683Z (26 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.984%
- Average: 7.43%
- Dependent repos count: 7.877%
proxy.golang.org: github.com/data-dOG/go-sqlmock
- Homepage:
- Documentation: https://pkg.go.dev/github.com/data-dOG/go-sqlmock#section-documentation
- Licenses: other
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-11T21:18:03.840Z (25 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/data-DOG/go-sqlmock
- Homepage:
- Documentation: https://pkg.go.dev/github.com/data-DOG/go-sqlmock#section-documentation
- Licenses: other
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-11T22:02:38.958Z (25 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/DATA-dog/go-sqlmock
Package sqlmock is a mock library implementing sql driver. Which has one and only purpose - to simulate any sql driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow. It does not require 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 sql driver method behavior.
- Homepage: https://github.com/DATA-dog/go-sqlmock
- Documentation: https://pkg.go.dev/github.com/DATA-dog/go-sqlmock#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2025-12-10T21:05:23.336Z (about 2 months ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 9.415%
- Average: 10.015%
- Dependent repos count: 10.616%
proxy.golang.org: github.com/DATA-DOG/Go-sqlmock
- Homepage:
- Documentation: https://pkg.go.dev/github.com/DATA-DOG/Go-sqlmock#section-documentation
- Licenses:
- Latest release: v1.5.2 (published about 2 years ago)
- Last Synced: 2026-01-12T11:49:02.080Z (25 days ago)
- Versions: 17
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
Dependencies
- github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46
- github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46