Sort and Direction not work since GitHub changed its API.
https://developer.github.com/v3/repos/commits/#list-commits
|
type IssueListCommentsOptions struct { |
|
// Sort specifies how to sort comments. Possible values are: created, updated. |
|
Sort *string `url:"sort,omitempty"` |
|
|
|
// Direction in which to sort comments. Possible values are: asc, desc. |
|
Direction *string `url:"direction,omitempty"` |
|
|
|
// Since filters comments by time. |
|
Since *time.Time `url:"since,omitempty"` |
|
|
|
ListOptions |
|
} |
SortandDirectionnot work since GitHub changed its API.https://developer.github.com/v3/repos/commits/#list-commits
go-github/github/issues_comments.go
Lines 37 to 48 in e881974