Browse Source

add comment for RoundTrip

Will Norris 13 years ago
parent
commit
c3f7d49a2d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      github/github.go

+ 1
- 0
github/github.go View File

@ -295,6 +295,7 @@ type UnauthenticatedRateLimitedTransport struct {
Transport http.RoundTripper
}
// RoundTrip implements the RoundTripper interface.
func (t *UnauthenticatedRateLimitedTransport) RoundTrip(req *http.Request) (*http.Response, error) {
if t.ClientID == "" {
return nil, errors.New("ClientID is empty")


Loading…
Cancel
Save