{"action":"created","comment":{"url":"https://api.github.com/repos/octokit/go-octokit/pulls/comments/36671814","id":36671814,"diff_hunk":"@@ -0,0 +1,41 @@\n+package octokit\n+\n+import (\n+\t\"net/url\"\n+\n+\t\"github.com/jingweno/go-sawyer/hypermedia\"\n+)\n+\n+// https://developer.github.com/v3/meta/\n+var (\n+\tMetaURL = Hyperlink(\"/meta\")\n+)\n+\n+// https://developer.github.com/v3/meta/\n+func (c *Client) Meta(url *url.URL) *MetaService {\n+\treturn &MetaService{client: c, URL: url}\n+}\n+\n+// A service to return information about GitHub.com, the service.\n+type MetaService struct {\n+\tclient *Client\n+\tURL    *url.URL\n+}\n+\n+// Get the user search results based on MetaService#URL\n+//\n+// https://developer.github.com/v3/meta/#meta\n+func (m *MetaService) One() (meta Meta, result *Result) {\n+\tresult = m.client.get(m.URL, &meta)\n+\treturn\n+}\n+\n+type Meta struct {","path":"octokit/meta.go","position":33,"original_position":33,"commit_id":"f0aacdc97f4ed2e595b057a7fd91c353e9ac8d8a","original_commit_id":"cf1e3942d205678f56e5df29c09548adeb2f9b9f","user":{"login":"pengwynn","id":865,"avatar_url":"https://avatars.githubusercontent.com/u/865?v=3","gravatar_id":"","url":"https://api.github.com/users/pengwynn","html_url":"https://github.com/pengwynn","followers_url":"https://api.github.com/users/pengwynn/followers","following_url":"https://api.github.com/users/pengwynn/following{/other_user}","gists_url":"https://api.github.com/users/pengwynn/gists{/gist_id}","starred_url":"https://api.github.com/users/pengwynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengwynn/subscriptions","organizations_url":"https://api.github.com/users/pengwynn/orgs","repos_url":"https://api.github.com/users/pengwynn/repos","events_url":"https://api.github.com/users/pengwynn/events{/privacy}","received_events_url":"https://api.github.com/users/pengwynn/received_events","type":"User","site_admin":true},"body":"I think it depends on what we do for the method name. https://github.com/octokit/go-octokit/pull/118/files#r36671782","created_at":"2015-08-10T19:12:03Z","updated_at":"2015-08-10T19:12:03Z","html_url":"https://github.com/octokit/go-octokit/pull/118#discussion_r36671814","pull_request_url":"https://api.github.com/repos/octokit/go-octokit/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/comments/36671814"},"html":{"href":"https://github.com/octokit/go-octokit/pull/118#discussion_r36671814"},"pull_request":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/octokit/go-octokit/pulls/118","id":39197070,"html_url":"https://github.com/octokit/go-octokit/pull/118","diff_url":"https://github.com/octokit/go-octokit/pull/118.diff","patch_url":"https://github.com/octokit/go-octokit/pull/118.patch","issue_url":"https://api.github.com/repos/octokit/go-octokit/issues/118","number":118,"state":"open","locked":false,"title":"[WIP] First pass at implementing '/meta'","user":{"login":"pcasaretto","id":817039,"avatar_url":"https://avatars.githubusercontent.com/u/817039?v=3","gravatar_id":"","url":"https://api.github.com/users/pcasaretto","html_url":"https://github.com/pcasaretto","followers_url":"https://api.github.com/users/pcasaretto/followers","following_url":"https://api.github.com/users/pcasaretto/following{/other_user}","gists_url":"https://api.github.com/users/pcasaretto/gists{/gist_id}","starred_url":"https://api.github.com/users/pcasaretto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcasaretto/subscriptions","organizations_url":"https://api.github.com/users/pcasaretto/orgs","repos_url":"https://api.github.com/users/pcasaretto/repos","events_url":"https://api.github.com/users/pcasaretto/events{/privacy}","received_events_url":"https://api.github.com/users/pcasaretto/received_events","type":"User","site_admin":false},"body":"Hey guys,\r\n\r\nLearning go and currently using go-octokit as a dependency for another project.\r\nI wanted to contribute back and also scratch my own itch :) .\r\nOpening this PR with WIP to get early feedback.\r\nThe code currently works.\r\n\r\nSome specific questions on the code itself.\r\n\r\nThanks!","created_at":"2015-07-03T21:34:49Z","updated_at":"2015-08-10T19:12:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25b9be2279fd7b39ec8e3c1cb82ae3039e68f1e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/octokit/go-octokit/pulls/118/commits","review_comments_url":"https://api.github.com/repos/octokit/go-octokit/pulls/118/comments","review_comment_url":"https://api.github.com/repos/octokit/go-octokit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octokit/go-octokit/issues/118/comments","statuses_url":"https://api.github.com/repos/octokit/go-octokit/statuses/f0aacdc97f4ed2e595b057a7fd91c353e9ac8d8a","head":{"label":"pcasaretto:meta-api","ref":"meta-api","sha":"f0aacdc97f4ed2e595b057a7fd91c353e9ac8d8a","user":{"login":"pcasaretto","id":817039,"avatar_url":"https://avatars.githubusercontent.com/u/817039?v=3","gravatar_id":"","url":"https://api.github.com/users/pcasaretto","html_url":"https://github.com/pcasaretto","followers_url":"https://api.github.com/users/pcasaretto/followers","following_url":"https://api.github.com/users/pcasaretto/following{/other_user}","gists_url":"https://api.github.com/users/pcasaretto/gists{/gist_id}","starred_url":"https://api.github.com/users/pcasaretto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcasaretto/subscriptions","organizations_url":"https://api.github.com/users/pcasaretto/orgs","repos_url":"https://api.github.com/users/pcasaretto/repos","events_url":"https://api.github.com/users/pcasaretto/events{/privacy}","received_events_url":"https://api.github.com/users/pcasaretto/received_events","type":"User","site_admin":false},"repo":{"id":38493155,"name":"go-octokit","full_name":"pcasaretto/go-octokit","owner":{"login":"pcasaretto","id":817039,"avatar_url":"https://avatars.githubusercontent.com/u/817039?v=3","gravatar_id":"","url":"https://api.github.com/users/pcasaretto","html_url":"https://github.com/pcasaretto","followers_url":"https://api.github.com/users/pcasaretto/followers","following_url":"https://api.github.com/users/pcasaretto/following{/other_user}","gists_url":"https://api.github.com/users/pcasaretto/gists{/gist_id}","starred_url":"https://api.github.com/users/pcasaretto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcasaretto/subscriptions","organizations_url":"https://api.github.com/users/pcasaretto/orgs","repos_url":"https://api.github.com/users/pcasaretto/repos","events_url":"https://api.github.com/users/pcasaretto/events{/privacy}","received_events_url":"https://api.github.com/users/pcasaretto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcasaretto/go-octokit","description":"Simple Go wrapper for the GitHub API","fork":true,"url":"https://api.github.com/repos/pcasaretto/go-octokit","forks_url":"https://api.github.com/repos/pcasaretto/go-octokit/forks","keys_url":"https://api.github.com/repos/pcasaretto/go-octokit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcasaretto/go-octokit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcasaretto/go-octokit/teams","hooks_url":"https://api.github.com/repos/pcasaretto/go-octokit/hooks","issue_events_url":"https://api.github.com/repos/pcasaretto/go-octokit/issues/events{/number}","events_url":"https://api.github.com/repos/pcasaretto/go-octokit/events","assignees_url":"https://api.github.com/repos/pcasaretto/go-octokit/assignees{/user}","branches_url":"https://api.github.com/repos/pcasaretto/go-octokit/branches{/branch}","tags_url":"https://api.github.com/repos/pcasaretto/go-octokit/tags","blobs_url":"https://api.github.com/repos/pcasaretto/go-octokit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcasaretto/go-octokit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcasaretto/go-octokit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcasaretto/go-octokit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcasaretto/go-octokit/statuses/{sha}","languages_url":"https://api.github.com/repos/pcasaretto/go-octokit/languages","stargazers_url":"https://api.github.com/repos/pcasaretto/go-octokit/stargazers","contributors_url":"https://api.github.com/repos/pcasaretto/go-octokit/contributors","subscribers_url":"https://api.github.com/repos/pcasaretto/go-octokit/subscribers","subscription_url":"https://api.github.com/repos/pcasaretto/go-octokit/subscription","commits_url":"https://api.github.com/repos/pcasaretto/go-octokit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcasaretto/go-octokit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcasaretto/go-octokit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcasaretto/go-octokit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcasaretto/go-octokit/contents/{+path}","compare_url":"https://api.github.com/repos/pcasaretto/go-octokit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcasaretto/go-octokit/merges","archive_url":"https://api.github.com/repos/pcasaretto/go-octokit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcasaretto/go-octokit/downloads","issues_url":"https://api.github.com/repos/pcasaretto/go-octokit/issues{/number}","pulls_url":"https://api.github.com/repos/pcasaretto/go-octokit/pulls{/number}","milestones_url":"https://api.github.com/repos/pcasaretto/go-octokit/milestones{/number}","notifications_url":"https://api.github.com/repos/pcasaretto/go-octokit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcasaretto/go-octokit/labels{/name}","releases_url":"https://api.github.com/repos/pcasaretto/go-octokit/releases{/id}","created_at":"2015-07-03T13:07:38Z","updated_at":"2015-07-03T13:07:39Z","pushed_at":"2015-07-04T22:22:07Z","git_url":"git://github.com/pcasaretto/go-octokit.git","ssh_url":"git@github.com:pcasaretto/go-octokit.git","clone_url":"https://github.com/pcasaretto/go-octokit.git","svn_url":"https://github.com/pcasaretto/go-octokit","homepage":"https://github.com/octokit/go-octokit","size":2038,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"octokit:master","ref":"master","sha":"4408b5393e59d4e9fcab4c0815af355cdbe25f98","user":{"login":"octokit","id":3430433,"avatar_url":"https://avatars.githubusercontent.com/u/3430433?v=3","gravatar_id":"","url":"https://api.github.com/users/octokit","html_url":"https://github.com/octokit","followers_url":"https://api.github.com/users/octokit/followers","following_url":"https://api.github.com/users/octokit/following{/other_user}","gists_url":"https://api.github.com/users/octokit/gists{/gist_id}","starred_url":"https://api.github.com/users/octokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octokit/subscriptions","organizations_url":"https://api.github.com/users/octokit/orgs","repos_url":"https://api.github.com/users/octokit/repos","events_url":"https://api.github.com/users/octokit/events{/privacy}","received_events_url":"https://api.github.com/users/octokit/received_events","type":"Organization","site_admin":false},"repo":{"id":10575811,"name":"go-octokit","full_name":"octokit/go-octokit","owner":{"login":"octokit","id":3430433,"avatar_url":"https://avatars.githubusercontent.com/u/3430433?v=3","gravatar_id":"","url":"https://api.github.com/users/octokit","html_url":"https://github.com/octokit","followers_url":"https://api.github.com/users/octokit/followers","following_url":"https://api.github.com/users/octokit/following{/other_user}","gists_url":"https://api.github.com/users/octokit/gists{/gist_id}","starred_url":"https://api.github.com/users/octokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octokit/subscriptions","organizations_url":"https://api.github.com/users/octokit/orgs","repos_url":"https://api.github.com/users/octokit/repos","events_url":"https://api.github.com/users/octokit/events{/privacy}","received_events_url":"https://api.github.com/users/octokit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octokit/go-octokit","description":"Simple Go wrapper for the GitHub API","fork":false,"url":"https://api.github.com/repos/octokit/go-octokit","forks_url":"https://api.github.com/repos/octokit/go-octokit/forks","keys_url":"https://api.github.com/repos/octokit/go-octokit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octokit/go-octokit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octokit/go-octokit/teams","hooks_url":"https://api.github.com/repos/octokit/go-octokit/hooks","issue_events_url":"https://api.github.com/repos/octokit/go-octokit/issues/events{/number}","events_url":"https://api.github.com/repos/octokit/go-octokit/events","assignees_url":"https://api.github.com/repos/octokit/go-octokit/assignees{/user}","branches_url":"https://api.github.com/repos/octokit/go-octokit/branches{/branch}","tags_url":"https://api.github.com/repos/octokit/go-octokit/tags","blobs_url":"https://api.github.com/repos/octokit/go-octokit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octokit/go-octokit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octokit/go-octokit/git/refs{/sha}","trees_url":"https://api.github.com/repos/octokit/go-octokit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octokit/go-octokit/statuses/{sha}","languages_url":"https://api.github.com/repos/octokit/go-octokit/languages","stargazers_url":"https://api.github.com/repos/octokit/go-octokit/stargazers","contributors_url":"https://api.github.com/repos/octokit/go-octokit/contributors","subscribers_url":"https://api.github.com/repos/octokit/go-octokit/subscribers","subscription_url":"https://api.github.com/repos/octokit/go-octokit/subscription","commits_url":"https://api.github.com/repos/octokit/go-octokit/commits{/sha}","git_commits_url":"https://api.github.com/repos/octokit/go-octokit/git/commits{/sha}","comments_url":"https://api.github.com/repos/octokit/go-octokit/comments{/number}","issue_comment_url":"https://api.github.com/repos/octokit/go-octokit/issues/comments{/number}","contents_url":"https://api.github.com/repos/octokit/go-octokit/contents/{+path}","compare_url":"https://api.github.com/repos/octokit/go-octokit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octokit/go-octokit/merges","archive_url":"https://api.github.com/repos/octokit/go-octokit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octokit/go-octokit/downloads","issues_url":"https://api.github.com/repos/octokit/go-octokit/issues{/number}","pulls_url":"https://api.github.com/repos/octokit/go-octokit/pulls{/number}","milestones_url":"https://api.github.com/repos/octokit/go-octokit/milestones{/number}","notifications_url":"https://api.github.com/repos/octokit/go-octokit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octokit/go-octokit/labels{/name}","releases_url":"https://api.github.com/repos/octokit/go-octokit/releases{/id}","created_at":"2013-06-08T23:50:29Z","updated_at":"2015-08-10T10:56:30Z","pushed_at":"2015-07-04T22:22:08Z","git_url":"git://github.com/octokit/go-octokit.git","ssh_url":"git@github.com:octokit/go-octokit.git","clone_url":"https://github.com/octokit/go-octokit.git","svn_url":"https://github.com/octokit/go-octokit","homepage":"https://github.com/octokit/go-octokit","size":3546,"stargazers_count":123,"watchers_count":123,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":8,"forks":39,"open_issues":8,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/118"},"html":{"href":"https://github.com/octokit/go-octokit/pull/118"},"issue":{"href":"https://api.github.com/repos/octokit/go-octokit/issues/118"},"comments":{"href":"https://api.github.com/repos/octokit/go-octokit/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octokit/go-octokit/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/octokit/go-octokit/statuses/f0aacdc97f4ed2e595b057a7fd91c353e9ac8d8a"}}}}