Browse Source

github: Document all possible values for IssueList{,ByRepo}Options.State.

The value "all" is also possible for State. See https://developer.github.com/v3/issues/#list-issues
and https://developer.github.com/v3/issues/#list-issues-for-a-repository.
Dmitri Shuralyov 10 years ago
parent
commit
44b1ede22d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      github/issues.go

+ 2
- 2
github/issues.go View File

@ -65,7 +65,7 @@ type IssueListOptions struct {
Filter string `url:"filter,omitempty"`
// State filters issues based on their state. Possible values are: open,
// closed. Default is "open".
// closed, all. Default is "open".
State string `url:"state,omitempty"`
// Labels filters issues based on their label.
@ -148,7 +148,7 @@ type IssueListByRepoOptions struct {
Milestone string `url:"milestone,omitempty"`
// State filters issues based on their state. Possible values are: open,
// closed. Default is "open".
// closed, all. Default is "open".
State string `url:"state,omitempty"`
// Assignee filters issues based on their assignee. Possible values are a


Loading…
Cancel
Save