diff --git a/github/github.go b/github/github.go index f9e5b63..1dfc887 100644 --- a/github/github.go +++ b/github/github.go @@ -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")