You've already forked go-sqlmock
mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-06-14 23:55:00 +02:00
update readme and add example
* dcca987 add an old example and a basic one
This commit is contained in:
@ -3,7 +3,8 @@ Package sqlmock provides sql driver connection, which allows to test database
|
||||
interactions by expected calls and simulate their results or errors.
|
||||
|
||||
It does not require any modifications to your source code in order to test
|
||||
and mock database operations.
|
||||
and mock database operations. It does not even require a real database in order
|
||||
to test your application.
|
||||
|
||||
The driver allows to mock any sql driver method behavior. Concurrent actions
|
||||
are also supported.
|
||||
|
Reference in New Issue
Block a user