1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-01-24 03:16:17 +02:00

adds more details about changes made to v1.2.0 version

This commit is contained in:
gedi 2017-04-16 12:12:12 +03:00
parent b983233bc0
commit 8fd5411d53
No known key found for this signature in database
GPG Key ID: 56604CDCCC201556

View File

@ -16,6 +16,10 @@ maintain correct **TDD** workflow.
- has strict by default expectation order matching.
- has no third party dependencies.
**NOTE:** in **v1.2.0** **sqlmock.Rows** has changed to struct from interface, if you were using any type references to that
interface, you will need to switch it to a pointer struct type. Also, **sqlmock.Rows** were used to implement **driver.Rows**
interface, which was not required or useful for mocking and was removed. Hope it will not cause issues.
## Install
go get gopkg.in/DATA-DOG/go-sqlmock.v1