{"action":"created","comment":{"url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/comments/33422384","id":33422384,"diff_hunk":"@@ -1,5 +1,11 @@\n compdef _golang go\n \n+function _deps(){\n+\tapp=\"go\"\n+\n+\t$(hash $app 2>/dev/null) || $(myzsh error \"Couldn't find application ${app}\" && return 1)","path":"modules/golang/golang","position":6,"original_position":6,"commit_id":"5d77cd6c05a3c77b8db9de3693bde09f3f5327f8","original_commit_id":"5d77cd6c05a3c77b8db9de3693bde09f3f5327f8","user":{"login":"brimstone","id":812795,"avatar_url":"https://avatars.githubusercontent.com/u/812795?v=3","gravatar_id":"","url":"https://api.github.com/users/brimstone","html_url":"https://github.com/brimstone","followers_url":"https://api.github.com/users/brimstone/followers","following_url":"https://api.github.com/users/brimstone/following{/other_user}","gists_url":"https://api.github.com/users/brimstone/gists{/gist_id}","starred_url":"https://api.github.com/users/brimstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brimstone/subscriptions","organizations_url":"https://api.github.com/users/brimstone/orgs","repos_url":"https://api.github.com/users/brimstone/repos","events_url":"https://api.github.com/users/brimstone/events{/privacy}","received_events_url":"https://api.github.com/users/brimstone/received_events","type":"User","site_admin":false},"body":"Wait, are you sure $() needs to be used here?","created_at":"2015-06-28T12:48:20Z","updated_at":"2015-06-28T12:48:20Z","html_url":"https://github.com/myzsh/myzsh-golang/pull/6#discussion_r33422384","pull_request_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/comments/33422384"},"html":{"href":"https://github.com/myzsh/myzsh-golang/pull/6#discussion_r33422384"},"pull_request":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6","id":38691693,"html_url":"https://github.com/myzsh/myzsh-golang/pull/6","diff_url":"https://github.com/myzsh/myzsh-golang/pull/6.diff","patch_url":"https://github.com/myzsh/myzsh-golang/pull/6.patch","issue_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/6","number":6,"state":"closed","locked":false,"title":"adding new deps check","user":{"login":"dan9186","id":777141,"avatar_url":"https://avatars.githubusercontent.com/u/777141?v=3","gravatar_id":"","url":"https://api.github.com/users/dan9186","html_url":"https://github.com/dan9186","followers_url":"https://api.github.com/users/dan9186/followers","following_url":"https://api.github.com/users/dan9186/following{/other_user}","gists_url":"https://api.github.com/users/dan9186/gists{/gist_id}","starred_url":"https://api.github.com/users/dan9186/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan9186/subscriptions","organizations_url":"https://api.github.com/users/dan9186/orgs","repos_url":"https://api.github.com/users/dan9186/repos","events_url":"https://api.github.com/users/dan9186/events{/privacy}","received_events_url":"https://api.github.com/users/dan9186/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-26T21:35:25Z","updated_at":"2015-06-28T12:48:20Z","closed_at":"2015-06-28T01:25:30Z","merged_at":"2015-06-28T01:25:30Z","merge_commit_sha":"5f4aad8c2ae478adf761551199c9bad08e3b9bd5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6/commits","review_comments_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6/comments","review_comment_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/6/comments","statuses_url":"https://api.github.com/repos/myzsh/myzsh-golang/statuses/5d77cd6c05a3c77b8db9de3693bde09f3f5327f8","head":{"label":"myzsh:feature-new-deps-check","ref":"feature-new-deps-check","sha":"5d77cd6c05a3c77b8db9de3693bde09f3f5327f8","user":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"repo":{"id":29965552,"name":"myzsh-golang","full_name":"myzsh/myzsh-golang","owner":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/myzsh/myzsh-golang","description":"Golang module for myzsh","fork":false,"url":"https://api.github.com/repos/myzsh/myzsh-golang","forks_url":"https://api.github.com/repos/myzsh/myzsh-golang/forks","keys_url":"https://api.github.com/repos/myzsh/myzsh-golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myzsh/myzsh-golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myzsh/myzsh-golang/teams","hooks_url":"https://api.github.com/repos/myzsh/myzsh-golang/hooks","issue_events_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/events{/number}","events_url":"https://api.github.com/repos/myzsh/myzsh-golang/events","assignees_url":"https://api.github.com/repos/myzsh/myzsh-golang/assignees{/user}","branches_url":"https://api.github.com/repos/myzsh/myzsh-golang/branches{/branch}","tags_url":"https://api.github.com/repos/myzsh/myzsh-golang/tags","blobs_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myzsh/myzsh-golang/statuses/{sha}","languages_url":"https://api.github.com/repos/myzsh/myzsh-golang/languages","stargazers_url":"https://api.github.com/repos/myzsh/myzsh-golang/stargazers","contributors_url":"https://api.github.com/repos/myzsh/myzsh-golang/contributors","subscribers_url":"https://api.github.com/repos/myzsh/myzsh-golang/subscribers","subscription_url":"https://api.github.com/repos/myzsh/myzsh-golang/subscription","commits_url":"https://api.github.com/repos/myzsh/myzsh-golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/myzsh/myzsh-golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/myzsh/myzsh-golang/contents/{+path}","compare_url":"https://api.github.com/repos/myzsh/myzsh-golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myzsh/myzsh-golang/merges","archive_url":"https://api.github.com/repos/myzsh/myzsh-golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myzsh/myzsh-golang/downloads","issues_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues{/number}","pulls_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls{/number}","milestones_url":"https://api.github.com/repos/myzsh/myzsh-golang/milestones{/number}","notifications_url":"https://api.github.com/repos/myzsh/myzsh-golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myzsh/myzsh-golang/labels{/name}","releases_url":"https://api.github.com/repos/myzsh/myzsh-golang/releases{/id}","created_at":"2015-01-28T12:00:04Z","updated_at":"2015-05-20T18:19:53Z","pushed_at":"2015-06-28T01:25:32Z","git_url":"git://github.com/myzsh/myzsh-golang.git","ssh_url":"git@github.com:myzsh/myzsh-golang.git","clone_url":"https://github.com/myzsh/myzsh-golang.git","svn_url":"https://github.com/myzsh/myzsh-golang","homepage":"","size":316,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"myzsh:master","ref":"master","sha":"708d27381c086862b082e92ee2d6af8bee6e5012","user":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"repo":{"id":29965552,"name":"myzsh-golang","full_name":"myzsh/myzsh-golang","owner":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/myzsh/myzsh-golang","description":"Golang module for myzsh","fork":false,"url":"https://api.github.com/repos/myzsh/myzsh-golang","forks_url":"https://api.github.com/repos/myzsh/myzsh-golang/forks","keys_url":"https://api.github.com/repos/myzsh/myzsh-golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myzsh/myzsh-golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myzsh/myzsh-golang/teams","hooks_url":"https://api.github.com/repos/myzsh/myzsh-golang/hooks","issue_events_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/events{/number}","events_url":"https://api.github.com/repos/myzsh/myzsh-golang/events","assignees_url":"https://api.github.com/repos/myzsh/myzsh-golang/assignees{/user}","branches_url":"https://api.github.com/repos/myzsh/myzsh-golang/branches{/branch}","tags_url":"https://api.github.com/repos/myzsh/myzsh-golang/tags","blobs_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myzsh/myzsh-golang/statuses/{sha}","languages_url":"https://api.github.com/repos/myzsh/myzsh-golang/languages","stargazers_url":"https://api.github.com/repos/myzsh/myzsh-golang/stargazers","contributors_url":"https://api.github.com/repos/myzsh/myzsh-golang/contributors","subscribers_url":"https://api.github.com/repos/myzsh/myzsh-golang/subscribers","subscription_url":"https://api.github.com/repos/myzsh/myzsh-golang/subscription","commits_url":"https://api.github.com/repos/myzsh/myzsh-golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/myzsh/myzsh-golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/myzsh/myzsh-golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/myzsh/myzsh-golang/contents/{+path}","compare_url":"https://api.github.com/repos/myzsh/myzsh-golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myzsh/myzsh-golang/merges","archive_url":"https://api.github.com/repos/myzsh/myzsh-golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myzsh/myzsh-golang/downloads","issues_url":"https://api.github.com/repos/myzsh/myzsh-golang/issues{/number}","pulls_url":"https://api.github.com/repos/myzsh/myzsh-golang/pulls{/number}","milestones_url":"https://api.github.com/repos/myzsh/myzsh-golang/milestones{/number}","notifications_url":"https://api.github.com/repos/myzsh/myzsh-golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myzsh/myzsh-golang/labels{/name}","releases_url":"https://api.github.com/repos/myzsh/myzsh-golang/releases{/id}","created_at":"2015-01-28T12:00:04Z","updated_at":"2015-05-20T18:19:53Z","pushed_at":"2015-06-28T01:25:32Z","git_url":"git://github.com/myzsh/myzsh-golang.git","ssh_url":"git@github.com:myzsh/myzsh-golang.git","clone_url":"https://github.com/myzsh/myzsh-golang.git","svn_url":"https://github.com/myzsh/myzsh-golang","homepage":"","size":316,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6"},"html":{"href":"https://github.com/myzsh/myzsh-golang/pull/6"},"issue":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/issues/6"},"comments":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/myzsh/myzsh-golang/statuses/5d77cd6c05a3c77b8db9de3693bde09f3f5327f8"}}}}