1
0
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:
gedi
2015-08-27 10:34:01 +03:00
parent 5c18417f3f
commit 32a1b9d93f
11 changed files with 653 additions and 294 deletions

View File

@ -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.