mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-06-04 23:17:28 +02:00
adds more details about changes made to v1.2.0 version
This commit is contained in:
parent
b983233bc0
commit
8fd5411d53
@ -16,6 +16,10 @@ maintain correct **TDD** workflow.
|
|||||||
- has strict by default expectation order matching.
|
- has strict by default expectation order matching.
|
||||||
- has no third party dependencies.
|
- 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
|
## Install
|
||||||
|
|
||||||
go get gopkg.in/DATA-DOG/go-sqlmock.v1
|
go get gopkg.in/DATA-DOG/go-sqlmock.v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user