{"action":"created","issue":{"url":"https://api.github.com/repos/google/go-github/issues/649","repository_url":"https://api.github.com/repos/google/go-github","labels_url":"https://api.github.com/repos/google/go-github/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/google/go-github/issues/649/comments","events_url":"https://api.github.com/repos/google/go-github/issues/649/events","html_url":"https://github.com/google/go-github/pull/649","id":231520073,"number":649,"title":"Add link to GitHub Apps authentication package in docs.","user":{"login":"bradleyfalzon","id":1834577,"avatar_url":"https://avatars0.githubusercontent.com/u/1834577?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleyfalzon","html_url":"https://github.com/bradleyfalzon","followers_url":"https://api.github.com/users/bradleyfalzon/followers","following_url":"https://api.github.com/users/bradleyfalzon/following{/other_user}","gists_url":"https://api.github.com/users/bradleyfalzon/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleyfalzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleyfalzon/subscriptions","organizations_url":"https://api.github.com/users/bradleyfalzon/orgs","repos_url":"https://api.github.com/users/bradleyfalzon/repos","events_url":"https://api.github.com/users/bradleyfalzon/events{/privacy}","received_events_url":"https://api.github.com/users/bradleyfalzon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-26T04:01:01Z","updated_at":"2017-05-26T09:15:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/go-github/pulls/649","html_url":"https://github.com/google/go-github/pull/649","diff_url":"https://github.com/google/go-github/pull/649.diff","patch_url":"https://github.com/google/go-github/pull/649.patch"},"body":"As discussed in #627 I have a package which provides the GitHub Apps Authentication as an Installation `http.RoundTripper` that I use with this GitHub library successfully. I'm happy to keep maintaining it in an external repository, but a link from this library may assist others in finding the package.\r\n\r\nRelates to #455."},"comment":{"url":"https://api.github.com/repos/google/go-github/issues/comments/304233454","html_url":"https://github.com/google/go-github/pull/649#issuecomment-304233454","issue_url":"https://api.github.com/repos/google/go-github/issues/649","id":304233454,"user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars0.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"created_at":"2017-05-26T09:15:09Z","updated_at":"2017-05-26T09:15:09Z","body":"I think it'd be helpful to include the import statement. It makes it easier to see the whole thing at a glance. Otherwise it's extra work and uncertainty for people to figure out the import path (it could be a vanity import path, so it requires extra steps to find out).\r\n\r\nYou can stop after creating a GitHub client, no need to call methods on it. Maybe just a `// Use client...` comment.\r\n\r\nAlso, why do you suggest creating a separate `http.RoundTripper` for it, instead of just using [`http.DefaultTransport`](https://godoc.org/net/http#DefaultTransport)? The zero value of `http.Transport{}` doesn't seem to have good defaults."}}
{"actor":{"display_login":"shurcooL"}}