Browse Source

support pagination for listing gists

Krzysztof Kowalczyk 12 years ago
committed by Will Norris
parent
commit
c9d5bd8c6e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      github/gists.go

+ 2
- 0
github/gists.go View File

@ -56,6 +56,8 @@ func (g GistFile) String() string {
type GistListOptions struct { type GistListOptions struct {
// Since filters Gists by time. // Since filters Gists by time.
Since time.Time `url:"since,omitempty"` Since time.Time `url:"since,omitempty"`
ListOptions
} }
// List gists for a user. Passing the empty string will list // List gists for a user. Passing the empty string will list


Loading…
Cancel
Save