From 53b2cd1534e9f8f8830498debd1e49b63a08ffef Mon Sep 17 00:00:00 2001 From: gedi Date: Thu, 9 Feb 2017 09:26:25 +0200 Subject: [PATCH] updates readme and license --- LICENSE | 2 +- README.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index 25255bb..7f8bedf 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 80b5bc0..f3d5487 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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.