Skip to content

Commit 53b2cd1

Browse files
committed
updates readme and license
1 parent 128bf5c commit 53b2cd1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The three clause BSD license (http://en.wikipedia.org/wiki/BSD_licenses)
22

3-
Copyright (c) 2013-2016, DATA-DOG team
3+
Copyright (c) 2013-2017, DATA-DOG team
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,16 @@ maintain correct **TDD** workflow.
1010

1111
- this library is now complete and stable. (you may not find new changes for this reason)
1212
- supports concurrency and multiple connections.
13+
- supports **go1.8** Context related feature mocking and Named sql parameters.
1314
- does not require any modifications to your source code.
1415
- the driver allows to mock any sql driver method behavior.
1516
- has strict by default expectation order matching.
16-
- has no vendor dependencies.
17+
- has no third party dependencies.
1718

1819
## Install
1920

2021
go get gopkg.in/DATA-DOG/go-sqlmock.v1
2122

22-
If you need an old version, checkout **go-sqlmock** at gopkg.in:
23-
24-
go get gopkg.in/DATA-DOG/go-sqlmock.v0
25-
2623
## Documentation and Examples
2724

2825
Visit [godoc](http://godoc.org/github.com/DATA-DOG/go-sqlmock) for general examples and public api reference.
@@ -187,8 +184,11 @@ It only asserts that argument is of `time.Time` type.
187184

188185
go test -race
189186

190-
## Changes
187+
## Change Log
191188

189+
- **2017-02-09** - implemented support for **go1.8** features. **Rows** interface was changed to struct
190+
but contains all methods as before and should maintain backwards compatibility. **ExpectedQuery.WillReturnRows** may now
191+
accept multiple row sets.
192192
- **2016-11-02** - `db.Prepare()` was not validating expected prepare SQL
193193
query. It should still be validated even if Exec or Query is not
194194
executed on that prepared statement.

0 commit comments

Comments
 (0)