https://github.com/marvin9/go-mock-postgre
Example how to mock PostgreSQL database for unit testing in golang (GORM)
https://github.com/marvin9/go-mock-postgre
golang mock-data postgresql
Last synced: about 1 month ago
JSON representation
Example how to mock PostgreSQL database for unit testing in golang (GORM)
- Host: GitHub
- URL: https://github.com/marvin9/go-mock-postgre
- Owner: Marvin9
- Created: 2020-08-21T08:04:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T10:44:29.000Z (almost 6 years ago)
- Last Synced: 2025-07-15T07:33:46.122Z (11 months ago)
- Topics: golang, mock-data, postgresql
- Language: Go
- Homepage: https://medium.com/@mayursinhsarvaiya/how-to-mock-postgresql-database-for-unit-testing-in-golang-gorm-b690a4e4bc85
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-mock-postgre
Example how to mock PostgreSQL database for unit testing in golang (GORM)
## Published:
https://medium.com/@mayursinhsarvaiya/how-to-mock-postgresql-database-for-unit-testing-in-golang-gorm-b690a4e4bc85