Skip to content

Commit

Permalink
updates readme and license
Browse files Browse the repository at this point in the history
  • Loading branch information
l3pp4rd committed Feb 9, 2017
1 parent 128bf5c commit 53b2cd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The three clause BSD license (http://en.wikipedia.org/wiki/BSD_licenses)

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

Redistribution and use in source and binary forms, with or without
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ maintain correct **TDD** workflow.

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

## Install

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

If you need an old version, checkout **go-sqlmock** at gopkg.in:

go get gopkg.in/DATA-DOG/go-sqlmock.v0

## Documentation and Examples

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

go test -race

## Changes
## Change Log

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

0 comments on commit 53b2cd1

Please sign in to comment.