{"action":"created","comment":{"url":"https://api.github.com/repos/shurcooL/trayhost/pulls/comments/85009670","pull_request_review_id":5751839,"id":85009670,"diff_hunk":"@@ -184,3 +184,12 @@ func (n Notification) Display() {\n \n \tC.display_notification(notificationId, cTitle, cBody, img, C.double(n.Timeout.Seconds()))\n }\n+\n+//UpdateMenu will remove all menu items and add the new menu items","path":"trayhost.go","position":5,"original_position":5,"commit_id":"eee13dc144d7ccda8e06fc9f0e7fced527b362e5","original_commit_id":"8e618549f449a95815564070c9e3debf3c84c5d8","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":"There should be a space after the `//`. See https://dmitri.shuralyov.com/idiomatic-go#comments-for-humans-always-have-a-single-space-after-the-slashes for rationale.","created_at":"2016-10-25T21:52:49Z","updated_at":"2016-10-25T21:55:19Z","html_url":"https://github.com/shurcooL/trayhost/pull/13#discussion_r85009670","pull_request_url":"https://api.github.com/repos/shurcooL/trayhost/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/comments/85009670"},"html":{"href":"https://github.com/shurcooL/trayhost/pull/13#discussion_r85009670"},"pull_request":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/shurcooL/trayhost/pulls/13","id":90883209,"html_url":"https://github.com/shurcooL/trayhost/pull/13","diff_url":"https://github.com/shurcooL/trayhost/pull/13.diff","patch_url":"https://github.com/shurcooL/trayhost/pull/13.patch","issue_url":"https://api.github.com/repos/shurcooL/trayhost/issues/13","number":13,"state":"open","locked":false,"title":"Update Menu programatically","user":{"login":"captncraig","id":192540,"avatar_url":"https://avatars.githubusercontent.com/u/192540?v=3","gravatar_id":"","url":"https://api.github.com/users/captncraig","html_url":"https://github.com/captncraig","followers_url":"https://api.github.com/users/captncraig/followers","following_url":"https://api.github.com/users/captncraig/following{/other_user}","gists_url":"https://api.github.com/users/captncraig/gists{/gist_id}","starred_url":"https://api.github.com/users/captncraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captncraig/subscriptions","organizations_url":"https://api.github.com/users/captncraig/orgs","repos_url":"https://api.github.com/users/captncraig/repos","events_url":"https://api.github.com/users/captncraig/events{/privacy}","received_events_url":"https://api.github.com/users/captncraig/received_events","type":"User","site_admin":false},"body":"Added osx code to clear menu. Still needs windows/linux","created_at":"2016-10-25T20:16:56Z","updated_at":"2016-10-25T21:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14875132c643333b520026790ae3efd5141168d6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shurcooL/trayhost/pulls/13/commits","review_comments_url":"https://api.github.com/repos/shurcooL/trayhost/pulls/13/comments","review_comment_url":"https://api.github.com/repos/shurcooL/trayhost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shurcooL/trayhost/issues/13/comments","statuses_url":"https://api.github.com/repos/shurcooL/trayhost/statuses/eee13dc144d7ccda8e06fc9f0e7fced527b362e5","head":{"label":"captncraig:clear","ref":"clear","sha":"eee13dc144d7ccda8e06fc9f0e7fced527b362e5","user":{"login":"captncraig","id":192540,"avatar_url":"https://avatars.githubusercontent.com/u/192540?v=3","gravatar_id":"","url":"https://api.github.com/users/captncraig","html_url":"https://github.com/captncraig","followers_url":"https://api.github.com/users/captncraig/followers","following_url":"https://api.github.com/users/captncraig/following{/other_user}","gists_url":"https://api.github.com/users/captncraig/gists{/gist_id}","starred_url":"https://api.github.com/users/captncraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captncraig/subscriptions","organizations_url":"https://api.github.com/users/captncraig/orgs","repos_url":"https://api.github.com/users/captncraig/repos","events_url":"https://api.github.com/users/captncraig/events{/privacy}","received_events_url":"https://api.github.com/users/captncraig/received_events","type":"User","site_admin":false},"repo":{"id":71933987,"name":"trayhost","full_name":"captncraig/trayhost","owner":{"login":"captncraig","id":192540,"avatar_url":"https://avatars.githubusercontent.com/u/192540?v=3","gravatar_id":"","url":"https://api.github.com/users/captncraig","html_url":"https://github.com/captncraig","followers_url":"https://api.github.com/users/captncraig/followers","following_url":"https://api.github.com/users/captncraig/following{/other_user}","gists_url":"https://api.github.com/users/captncraig/gists{/gist_id}","starred_url":"https://api.github.com/users/captncraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captncraig/subscriptions","organizations_url":"https://api.github.com/users/captncraig/orgs","repos_url":"https://api.github.com/users/captncraig/repos","events_url":"https://api.github.com/users/captncraig/events{/privacy}","received_events_url":"https://api.github.com/users/captncraig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/captncraig/trayhost","description":"Cross-platform Go library to place an icon in the host operating system's taskbar.","fork":true,"url":"https://api.github.com/repos/captncraig/trayhost","forks_url":"https://api.github.com/repos/captncraig/trayhost/forks","keys_url":"https://api.github.com/repos/captncraig/trayhost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/captncraig/trayhost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/captncraig/trayhost/teams","hooks_url":"https://api.github.com/repos/captncraig/trayhost/hooks","issue_events_url":"https://api.github.com/repos/captncraig/trayhost/issues/events{/number}","events_url":"https://api.github.com/repos/captncraig/trayhost/events","assignees_url":"https://api.github.com/repos/captncraig/trayhost/assignees{/user}","branches_url":"https://api.github.com/repos/captncraig/trayhost/branches{/branch}","tags_url":"https://api.github.com/repos/captncraig/trayhost/tags","blobs_url":"https://api.github.com/repos/captncraig/trayhost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/captncraig/trayhost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/captncraig/trayhost/git/refs{/sha}","trees_url":"https://api.github.com/repos/captncraig/trayhost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/captncraig/trayhost/statuses/{sha}","languages_url":"https://api.github.com/repos/captncraig/trayhost/languages","stargazers_url":"https://api.github.com/repos/captncraig/trayhost/stargazers","contributors_url":"https://api.github.com/repos/captncraig/trayhost/contributors","subscribers_url":"https://api.github.com/repos/captncraig/trayhost/subscribers","subscription_url":"https://api.github.com/repos/captncraig/trayhost/subscription","commits_url":"https://api.github.com/repos/captncraig/trayhost/commits{/sha}","git_commits_url":"https://api.github.com/repos/captncraig/trayhost/git/commits{/sha}","comments_url":"https://api.github.com/repos/captncraig/trayhost/comments{/number}","issue_comment_url":"https://api.github.com/repos/captncraig/trayhost/issues/comments{/number}","contents_url":"https://api.github.com/repos/captncraig/trayhost/contents/{+path}","compare_url":"https://api.github.com/repos/captncraig/trayhost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/captncraig/trayhost/merges","archive_url":"https://api.github.com/repos/captncraig/trayhost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/captncraig/trayhost/downloads","issues_url":"https://api.github.com/repos/captncraig/trayhost/issues{/number}","pulls_url":"https://api.github.com/repos/captncraig/trayhost/pulls{/number}","milestones_url":"https://api.github.com/repos/captncraig/trayhost/milestones{/number}","notifications_url":"https://api.github.com/repos/captncraig/trayhost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/captncraig/trayhost/labels{/name}","releases_url":"https://api.github.com/repos/captncraig/trayhost/releases{/id}","deployments_url":"https://api.github.com/repos/captncraig/trayhost/deployments","created_at":"2016-10-25T20:00:13Z","updated_at":"2016-10-25T20:00:14Z","pushed_at":"2016-10-25T21:48:10Z","git_url":"git://github.com/captncraig/trayhost.git","ssh_url":"git@github.com:captncraig/trayhost.git","clone_url":"https://github.com/captncraig/trayhost.git","svn_url":"https://github.com/captncraig/trayhost","homepage":"","size":107,"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":"shurcooL:master","ref":"master","sha":"27c57fa442dc2219cc5a967388f1d18f7faf585e","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},"repo":{"id":19133558,"name":"trayhost","full_name":"shurcooL/trayhost","owner":{"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},"private":false,"html_url":"https://github.com/shurcooL/trayhost","description":"Cross-platform Go library to place an icon in the host operating system's taskbar.","fork":true,"url":"https://api.github.com/repos/shurcooL/trayhost","forks_url":"https://api.github.com/repos/shurcooL/trayhost/forks","keys_url":"https://api.github.com/repos/shurcooL/trayhost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shurcooL/trayhost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shurcooL/trayhost/teams","hooks_url":"https://api.github.com/repos/shurcooL/trayhost/hooks","issue_events_url":"https://api.github.com/repos/shurcooL/trayhost/issues/events{/number}","events_url":"https://api.github.com/repos/shurcooL/trayhost/events","assignees_url":"https://api.github.com/repos/shurcooL/trayhost/assignees{/user}","branches_url":"https://api.github.com/repos/shurcooL/trayhost/branches{/branch}","tags_url":"https://api.github.com/repos/shurcooL/trayhost/tags","blobs_url":"https://api.github.com/repos/shurcooL/trayhost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shurcooL/trayhost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shurcooL/trayhost/git/refs{/sha}","trees_url":"https://api.github.com/repos/shurcooL/trayhost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shurcooL/trayhost/statuses/{sha}","languages_url":"https://api.github.com/repos/shurcooL/trayhost/languages","stargazers_url":"https://api.github.com/repos/shurcooL/trayhost/stargazers","contributors_url":"https://api.github.com/repos/shurcooL/trayhost/contributors","subscribers_url":"https://api.github.com/repos/shurcooL/trayhost/subscribers","subscription_url":"https://api.github.com/repos/shurcooL/trayhost/subscription","commits_url":"https://api.github.com/repos/shurcooL/trayhost/commits{/sha}","git_commits_url":"https://api.github.com/repos/shurcooL/trayhost/git/commits{/sha}","comments_url":"https://api.github.com/repos/shurcooL/trayhost/comments{/number}","issue_comment_url":"https://api.github.com/repos/shurcooL/trayhost/issues/comments{/number}","contents_url":"https://api.github.com/repos/shurcooL/trayhost/contents/{+path}","compare_url":"https://api.github.com/repos/shurcooL/trayhost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shurcooL/trayhost/merges","archive_url":"https://api.github.com/repos/shurcooL/trayhost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shurcooL/trayhost/downloads","issues_url":"https://api.github.com/repos/shurcooL/trayhost/issues{/number}","pulls_url":"https://api.github.com/repos/shurcooL/trayhost/pulls{/number}","milestones_url":"https://api.github.com/repos/shurcooL/trayhost/milestones{/number}","notifications_url":"https://api.github.com/repos/shurcooL/trayhost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shurcooL/trayhost/labels{/name}","releases_url":"https://api.github.com/repos/shurcooL/trayhost/releases{/id}","deployments_url":"https://api.github.com/repos/shurcooL/trayhost/deployments","created_at":"2014-04-25T04:02:30Z","updated_at":"2016-10-25T20:00:12Z","pushed_at":"2016-10-25T21:48:10Z","git_url":"git://github.com/shurcooL/trayhost.git","ssh_url":"git@github.com:shurcooL/trayhost.git","clone_url":"https://github.com/shurcooL/trayhost.git","svn_url":"https://github.com/shurcooL/trayhost","homepage":"","size":107,"stargazers_count":76,"watchers_count":76,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/13"},"html":{"href":"https://github.com/shurcooL/trayhost/pull/13"},"issue":{"href":"https://api.github.com/repos/shurcooL/trayhost/issues/13"},"comments":{"href":"https://api.github.com/repos/shurcooL/trayhost/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shurcooL/trayhost/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/shurcooL/trayhost/statuses/eee13dc144d7ccda8e06fc9f0e7fced527b362e5"}}}}
{"actor":{"display_login":"shurcooL"}}