Skip to content

Commit 31a4028

Browse files
author
David A. Eilertsen
committed
typos
1 parent b3b0fbd commit 31a4028

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
[![GoDoc](https://godoc.org/github.com/davidae/jm?status.svg)](https://godoc.org/github.com/davidae/jm)
33
[![Build Status](https://travis-ci.com/davidae/jm.svg "Travis CI status")](https://travis-ci.com/davidae/jm)
44

5-
A small package to compare JSONs with the advantage of using placeholders for possible unknown values.
6-
It should work with any type of valid JSON - however nested and tangled it may be. The package only uses
7-
golangs standard library, no dependencies.
5+
A small package to match JSONs with the addition of using placeholders for possible unknown values.
6+
It should work with any type of valid JSON - however nested and tangled it may be. This package uses only
7+
golang's standard library, no dependencies.
88

99
# Installation
1010
```Shell
@@ -32,7 +32,7 @@ err := jm.Match(
3232
[]byte(`{"created_at": "2009-11-10T23:00:00Z"}`),
3333
jm.WithTimeLayout(time.RFC3339))
3434

35-
fmt.Println("we should not have an error here: %t", err == nil)
35+
fmt.Printf("we should not have an error here: %t", err == nil)
3636
```
3737
It is also possible to define your own custom placeholders,
3838
```go
@@ -55,7 +55,7 @@ err := jm.Match(
5555
},
5656
)
5757

58-
fmt.Println("we should not have an error here: %t", err == nil)
58+
fmt.Printf("we should not have an error here: %t", err == nil)
5959
```
6060

6161
## Errors

0 commit comments

Comments
 (0)