{"action":"created","comment":{"url":"https://api.github.com/repos/tambet/go-asana/pulls/comments/80196991","id":80196991,"diff_hunk":"@@ -124,13 +125,15 @@ type (\n \n \tResponse struct {\n \t\tData   interface{} `json:\"data,omitempty\"`\n-\t\tErrors []Error     `json:\"errors,omitempty\"`\n+\t\tErrors Errors      `json:\"errors,omitempty\"`\n \t}\n \n \tError struct {\n \t\tPhrase  string `json:\"phrase,omitempty\"`\n \t\tMessage string `json:\"message,omitempty\"`\n \t}\n+\n+\tErrors []Error","path":"asana/asana.go","position":63,"original_position":21,"commit_id":"12d49ffaf608bfbd6aebe979f52d7d105649e69b","original_commit_id":"9a6f5cb646a53c7bb360d65fc4640e44c0ef54f2","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.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},"body":"Are there any restrictions on `Errors`? Can it contain 0 elements? 1 element?","created_at":"2016-09-23T07:55:10Z","updated_at":"2016-09-23T07:55:10Z","html_url":"https://github.com/tambet/go-asana/pull/4#discussion_r80196991","pull_request_url":"https://api.github.com/repos/tambet/go-asana/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/comments/80196991"},"html":{"href":"https://github.com/tambet/go-asana/pull/4#discussion_r80196991"},"pull_request":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/tambet/go-asana/pulls/4","id":85799579,"html_url":"https://github.com/tambet/go-asana/pull/4","diff_url":"https://github.com/tambet/go-asana/pull/4.diff","patch_url":"https://github.com/tambet/go-asana/pull/4.patch","issue_url":"https://api.github.com/repos/tambet/go-asana/issues/4","number":4,"state":"open","locked":false,"title":"Add context support, ErrUnauthorized and Doer interface for http.Client","user":{"login":"anpryl","id":5327697,"avatar_url":"https://avatars.githubusercontent.com/u/5327697?v=3","gravatar_id":"","url":"https://api.github.com/users/anpryl","html_url":"https://github.com/anpryl","followers_url":"https://api.github.com/users/anpryl/followers","following_url":"https://api.github.com/users/anpryl/following{/other_user}","gists_url":"https://api.github.com/users/anpryl/gists{/gist_id}","starred_url":"https://api.github.com/users/anpryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anpryl/subscriptions","organizations_url":"https://api.github.com/users/anpryl/orgs","repos_url":"https://api.github.com/users/anpryl/repos","events_url":"https://api.github.com/users/anpryl/events{/privacy}","received_events_url":"https://api.github.com/users/anpryl/received_events","type":"User","site_admin":false},"body":"Extend API for context usage.\r\nMake Errors an error instance.\r\n","created_at":"2016-09-19T14:05:12Z","updated_at":"2016-09-23T08:00:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87d380cd80a7035e8c8e85b38b2febdac0964a56","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tambet/go-asana/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tambet/go-asana/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tambet/go-asana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tambet/go-asana/issues/4/comments","statuses_url":"https://api.github.com/repos/tambet/go-asana/statuses/12d49ffaf608bfbd6aebe979f52d7d105649e69b","head":{"label":"anpryl:master","ref":"master","sha":"12d49ffaf608bfbd6aebe979f52d7d105649e69b","user":{"login":"anpryl","id":5327697,"avatar_url":"https://avatars.githubusercontent.com/u/5327697?v=3","gravatar_id":"","url":"https://api.github.com/users/anpryl","html_url":"https://github.com/anpryl","followers_url":"https://api.github.com/users/anpryl/followers","following_url":"https://api.github.com/users/anpryl/following{/other_user}","gists_url":"https://api.github.com/users/anpryl/gists{/gist_id}","starred_url":"https://api.github.com/users/anpryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anpryl/subscriptions","organizations_url":"https://api.github.com/users/anpryl/orgs","repos_url":"https://api.github.com/users/anpryl/repos","events_url":"https://api.github.com/users/anpryl/events{/privacy}","received_events_url":"https://api.github.com/users/anpryl/received_events","type":"User","site_admin":false},"repo":{"id":68110949,"name":"go-asana","full_name":"anpryl/go-asana","owner":{"login":"anpryl","id":5327697,"avatar_url":"https://avatars.githubusercontent.com/u/5327697?v=3","gravatar_id":"","url":"https://api.github.com/users/anpryl","html_url":"https://github.com/anpryl","followers_url":"https://api.github.com/users/anpryl/followers","following_url":"https://api.github.com/users/anpryl/following{/other_user}","gists_url":"https://api.github.com/users/anpryl/gists{/gist_id}","starred_url":"https://api.github.com/users/anpryl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anpryl/subscriptions","organizations_url":"https://api.github.com/users/anpryl/orgs","repos_url":"https://api.github.com/users/anpryl/repos","events_url":"https://api.github.com/users/anpryl/events{/privacy}","received_events_url":"https://api.github.com/users/anpryl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anpryl/go-asana","description":"Golang library for accessing the Asana API","fork":true,"url":"https://api.github.com/repos/anpryl/go-asana","forks_url":"https://api.github.com/repos/anpryl/go-asana/forks","keys_url":"https://api.github.com/repos/anpryl/go-asana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anpryl/go-asana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anpryl/go-asana/teams","hooks_url":"https://api.github.com/repos/anpryl/go-asana/hooks","issue_events_url":"https://api.github.com/repos/anpryl/go-asana/issues/events{/number}","events_url":"https://api.github.com/repos/anpryl/go-asana/events","assignees_url":"https://api.github.com/repos/anpryl/go-asana/assignees{/user}","branches_url":"https://api.github.com/repos/anpryl/go-asana/branches{/branch}","tags_url":"https://api.github.com/repos/anpryl/go-asana/tags","blobs_url":"https://api.github.com/repos/anpryl/go-asana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anpryl/go-asana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anpryl/go-asana/git/refs{/sha}","trees_url":"https://api.github.com/repos/anpryl/go-asana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anpryl/go-asana/statuses/{sha}","languages_url":"https://api.github.com/repos/anpryl/go-asana/languages","stargazers_url":"https://api.github.com/repos/anpryl/go-asana/stargazers","contributors_url":"https://api.github.com/repos/anpryl/go-asana/contributors","subscribers_url":"https://api.github.com/repos/anpryl/go-asana/subscribers","subscription_url":"https://api.github.com/repos/anpryl/go-asana/subscription","commits_url":"https://api.github.com/repos/anpryl/go-asana/commits{/sha}","git_commits_url":"https://api.github.com/repos/anpryl/go-asana/git/commits{/sha}","comments_url":"https://api.github.com/repos/anpryl/go-asana/comments{/number}","issue_comment_url":"https://api.github.com/repos/anpryl/go-asana/issues/comments{/number}","contents_url":"https://api.github.com/repos/anpryl/go-asana/contents/{+path}","compare_url":"https://api.github.com/repos/anpryl/go-asana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anpryl/go-asana/merges","archive_url":"https://api.github.com/repos/anpryl/go-asana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anpryl/go-asana/downloads","issues_url":"https://api.github.com/repos/anpryl/go-asana/issues{/number}","pulls_url":"https://api.github.com/repos/anpryl/go-asana/pulls{/number}","milestones_url":"https://api.github.com/repos/anpryl/go-asana/milestones{/number}","notifications_url":"https://api.github.com/repos/anpryl/go-asana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anpryl/go-asana/labels{/name}","releases_url":"https://api.github.com/repos/anpryl/go-asana/releases{/id}","deployments_url":"https://api.github.com/repos/anpryl/go-asana/deployments","created_at":"2016-09-13T13:29:52Z","updated_at":"2016-09-13T13:29:53Z","pushed_at":"2016-09-20T19:15:43Z","git_url":"git://github.com/anpryl/go-asana.git","ssh_url":"git@github.com:anpryl/go-asana.git","clone_url":"https://github.com/anpryl/go-asana.git","svn_url":"https://github.com/anpryl/go-asana","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"tambet:master","ref":"master","sha":"73e6538f7b94a687d1439872dee0a73e680e1fb1","user":{"login":"tambet","id":1631,"avatar_url":"https://avatars.githubusercontent.com/u/1631?v=3","gravatar_id":"","url":"https://api.github.com/users/tambet","html_url":"https://github.com/tambet","followers_url":"https://api.github.com/users/tambet/followers","following_url":"https://api.github.com/users/tambet/following{/other_user}","gists_url":"https://api.github.com/users/tambet/gists{/gist_id}","starred_url":"https://api.github.com/users/tambet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tambet/subscriptions","organizations_url":"https://api.github.com/users/tambet/orgs","repos_url":"https://api.github.com/users/tambet/repos","events_url":"https://api.github.com/users/tambet/events{/privacy}","received_events_url":"https://api.github.com/users/tambet/received_events","type":"User","site_admin":false},"repo":{"id":20865097,"name":"go-asana","full_name":"tambet/go-asana","owner":{"login":"tambet","id":1631,"avatar_url":"https://avatars.githubusercontent.com/u/1631?v=3","gravatar_id":"","url":"https://api.github.com/users/tambet","html_url":"https://github.com/tambet","followers_url":"https://api.github.com/users/tambet/followers","following_url":"https://api.github.com/users/tambet/following{/other_user}","gists_url":"https://api.github.com/users/tambet/gists{/gist_id}","starred_url":"https://api.github.com/users/tambet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tambet/subscriptions","organizations_url":"https://api.github.com/users/tambet/orgs","repos_url":"https://api.github.com/users/tambet/repos","events_url":"https://api.github.com/users/tambet/events{/privacy}","received_events_url":"https://api.github.com/users/tambet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tambet/go-asana","description":"Golang library for accessing the Asana API","fork":false,"url":"https://api.github.com/repos/tambet/go-asana","forks_url":"https://api.github.com/repos/tambet/go-asana/forks","keys_url":"https://api.github.com/repos/tambet/go-asana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tambet/go-asana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tambet/go-asana/teams","hooks_url":"https://api.github.com/repos/tambet/go-asana/hooks","issue_events_url":"https://api.github.com/repos/tambet/go-asana/issues/events{/number}","events_url":"https://api.github.com/repos/tambet/go-asana/events","assignees_url":"https://api.github.com/repos/tambet/go-asana/assignees{/user}","branches_url":"https://api.github.com/repos/tambet/go-asana/branches{/branch}","tags_url":"https://api.github.com/repos/tambet/go-asana/tags","blobs_url":"https://api.github.com/repos/tambet/go-asana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tambet/go-asana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tambet/go-asana/git/refs{/sha}","trees_url":"https://api.github.com/repos/tambet/go-asana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tambet/go-asana/statuses/{sha}","languages_url":"https://api.github.com/repos/tambet/go-asana/languages","stargazers_url":"https://api.github.com/repos/tambet/go-asana/stargazers","contributors_url":"https://api.github.com/repos/tambet/go-asana/contributors","subscribers_url":"https://api.github.com/repos/tambet/go-asana/subscribers","subscription_url":"https://api.github.com/repos/tambet/go-asana/subscription","commits_url":"https://api.github.com/repos/tambet/go-asana/commits{/sha}","git_commits_url":"https://api.github.com/repos/tambet/go-asana/git/commits{/sha}","comments_url":"https://api.github.com/repos/tambet/go-asana/comments{/number}","issue_comment_url":"https://api.github.com/repos/tambet/go-asana/issues/comments{/number}","contents_url":"https://api.github.com/repos/tambet/go-asana/contents/{+path}","compare_url":"https://api.github.com/repos/tambet/go-asana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tambet/go-asana/merges","archive_url":"https://api.github.com/repos/tambet/go-asana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tambet/go-asana/downloads","issues_url":"https://api.github.com/repos/tambet/go-asana/issues{/number}","pulls_url":"https://api.github.com/repos/tambet/go-asana/pulls{/number}","milestones_url":"https://api.github.com/repos/tambet/go-asana/milestones{/number}","notifications_url":"https://api.github.com/repos/tambet/go-asana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tambet/go-asana/labels{/name}","releases_url":"https://api.github.com/repos/tambet/go-asana/releases{/id}","deployments_url":"https://api.github.com/repos/tambet/go-asana/deployments","created_at":"2014-06-15T20:54:04Z","updated_at":"2016-05-24T10:20:41Z","pushed_at":"2016-09-20T19:15:44Z","git_url":"git://github.com/tambet/go-asana.git","ssh_url":"git@github.com:tambet/go-asana.git","clone_url":"https://github.com/tambet/go-asana.git","svn_url":"https://github.com/tambet/go-asana","homepage":"","size":15,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/4"},"html":{"href":"https://github.com/tambet/go-asana/pull/4"},"issue":{"href":"https://api.github.com/repos/tambet/go-asana/issues/4"},"comments":{"href":"https://api.github.com/repos/tambet/go-asana/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tambet/go-asana/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tambet/go-asana/statuses/12d49ffaf608bfbd6aebe979f52d7d105649e69b"}}}}
{"actor":{"display_login":"shurcooL"}}