Skip to content

Commit

Permalink
Merge pull request pashagolub#108 from mynyml/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
pashagolub authored Oct 13, 2022
2 parents b893ba5 + 6e1bb89 commit ac95c30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ It's based on the well-known [sqlmock](https://github.com/DATA-DOG/go-sqlmock) l

## Install

go get github.com/pashagolub/pgxmock
go get github.com/pashagolub/pgxmock/v2

## Documentation and Examples

Visit [godoc](http://pkg.go.dev/github.com/pashagolub/pgxmock) for general examples and public api reference.
Visit [godoc](http://pkg.go.dev/github.com/pashagolub/pgxmock/v2) for general examples and public api reference.

See implementation examples:

Expand Down Expand Up @@ -93,7 +93,7 @@ import (
"fmt"
"testing"

"github.com/pashagolub/pgxmock"
"github.com/pashagolub/pgxmock/v2"
)

// a successful case
Expand Down Expand Up @@ -172,7 +172,7 @@ provide a standard sql parsing matchers.
## Matching arguments like time.Time

There may be arguments which are of `struct` type and cannot be compared easily by value like `time.Time`. In this case
**pgxmock** provides an [Argument](https://pkg.go.dev/github.com/pashagolub/pgxmock#Argument) interface which
**pgxmock** provides an [Argument](https://pkg.go.dev/github.com/pashagolub/pgxmock/v2#Argument) interface which
can be used in more sophisticated matching. Here is a simple example of time argument matching:

``` go
Expand Down

0 comments on commit ac95c30

Please sign in to comment.