Skip to content

Commit

Permalink
docs: readme empty result example typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3000mp committed Jul 18, 2022
1 parent 1984a6b commit 01145eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ issues1, _, repo1Err := c.Issues.ListByRepo(ctx, "owner1", "repo1", &github.Issu

issues2, _, repo2Err := c.Issues.ListByRepo(ctx, "owner1", "repo2", &github.IssueListByRepoOptions{})

// len(issues1) == 0
// repo1Err == nil
// len(issues2) == 0
// repo2Err == nil
```

## Mocking errors from the API
Expand Down Expand Up @@ -226,4 +226,4 @@ Thanks for all ideas and feedback from the folks in [go-github](https://github.c

# License

This library is distributed under the MIT License found in LICENSE.
This library is distributed under the MIT License found in LICENSE.

0 comments on commit 01145eb

Please sign in to comment.