Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Mar 7, 2022
1 parent 075c4c9 commit 2fd785b
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 @@ -105,11 +105,11 @@ go get github.com/peter-evans/patience
## Usage

```go
a := strings.Split(textA, "\n")
b := strings.Split(textB, "\n")
a := strings.Split(textA, "\n")
b := strings.Split(textB, "\n")

diffs := patience.Diff(a, b)
diff := patience.DiffText(diffs)
diffs := patience.Diff(a, b)
diff := patience.DiffText(diffs)
```

## References
Expand Down

0 comments on commit 2fd785b

Please sign in to comment.