{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/micro/protobuf/pulls/3","id":99806385,"html_url":"https://github.com/micro/protobuf/pull/3","diff_url":"https://github.com/micro/protobuf/pull/3.diff","patch_url":"https://github.com/micro/protobuf/pull/3.patch","issue_url":"https://api.github.com/repos/micro/protobuf/issues/3","number":3,"state":"closed","locked":false,"title":"PubSub new/register functions","user":{"login":"asim","id":17530,"avatar_url":"https://avatars.githubusercontent.com/u/17530?v=3","gravatar_id":"","url":"https://api.github.com/users/asim","html_url":"https://github.com/asim","followers_url":"https://api.github.com/users/asim/followers","following_url":"https://api.github.com/users/asim/following{/other_user}","gists_url":"https://api.github.com/users/asim/gists{/gist_id}","starred_url":"https://api.github.com/users/asim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asim/subscriptions","organizations_url":"https://api.github.com/users/asim/orgs","repos_url":"https://api.github.com/users/asim/repos","events_url":"https://api.github.com/users/asim/events{/privacy}","received_events_url":"https://api.github.com/users/asim/received_events","type":"User","site_admin":false},"body":"This PR adds some syntactic sugar for a new publisher and registering a subscriber. Yet to be determined whether to merge and also whether to require msg be of proto.Message type and whether handler be an interface with a Handle method.","created_at":"2016-12-31T15:06:23Z","updated_at":"2017-01-26T15:26:05Z","closed_at":"2017-01-26T15:26:05Z","merged_at":"2017-01-26T15:26:05Z","merge_commit_sha":"6c67a653e9fe09b39cce272f341ee3189079a0cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/micro/protobuf/pulls/3/commits","review_comments_url":"https://api.github.com/repos/micro/protobuf/pulls/3/comments","review_comment_url":"https://api.github.com/repos/micro/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/micro/protobuf/issues/3/comments","statuses_url":"https://api.github.com/repos/micro/protobuf/statuses/07e4056bb99d721c55c2d215c9786fe94513a89c","head":{"label":"micro:pubsub","ref":"pubsub","sha":"07e4056bb99d721c55c2d215c9786fe94513a89c","user":{"login":"micro","id":5161210,"avatar_url":"https://avatars.githubusercontent.com/u/5161210?v=3","gravatar_id":"","url":"https://api.github.com/users/micro","html_url":"https://github.com/micro","followers_url":"https://api.github.com/users/micro/followers","following_url":"https://api.github.com/users/micro/following{/other_user}","gists_url":"https://api.github.com/users/micro/gists{/gist_id}","starred_url":"https://api.github.com/users/micro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro/subscriptions","organizations_url":"https://api.github.com/users/micro/orgs","repos_url":"https://api.github.com/users/micro/repos","events_url":"https://api.github.com/users/micro/events{/privacy}","received_events_url":"https://api.github.com/users/micro/received_events","type":"Organization","site_admin":false},"repo":{"id":47044524,"name":"protobuf","full_name":"micro/protobuf","owner":{"login":"micro","id":5161210,"avatar_url":"https://avatars.githubusercontent.com/u/5161210?v=3","gravatar_id":"","url":"https://api.github.com/users/micro","html_url":"https://github.com/micro","followers_url":"https://api.github.com/users/micro/followers","following_url":"https://api.github.com/users/micro/following{/other_user}","gists_url":"https://api.github.com/users/micro/gists{/gist_id}","starred_url":"https://api.github.com/users/micro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro/subscriptions","organizations_url":"https://api.github.com/users/micro/orgs","repos_url":"https://api.github.com/users/micro/repos","events_url":"https://api.github.com/users/micro/events{/privacy}","received_events_url":"https://api.github.com/users/micro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micro/protobuf","description":"Code generation for go-micro microservices","fork":true,"url":"https://api.github.com/repos/micro/protobuf","forks_url":"https://api.github.com/repos/micro/protobuf/forks","keys_url":"https://api.github.com/repos/micro/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micro/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micro/protobuf/teams","hooks_url":"https://api.github.com/repos/micro/protobuf/hooks","issue_events_url":"https://api.github.com/repos/micro/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/micro/protobuf/events","assignees_url":"https://api.github.com/repos/micro/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/micro/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/micro/protobuf/tags","blobs_url":"https://api.github.com/repos/micro/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micro/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micro/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/micro/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micro/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/micro/protobuf/languages","stargazers_url":"https://api.github.com/repos/micro/protobuf/stargazers","contributors_url":"https://api.github.com/repos/micro/protobuf/contributors","subscribers_url":"https://api.github.com/repos/micro/protobuf/subscribers","subscription_url":"https://api.github.com/repos/micro/protobuf/subscription","commits_url":"https://api.github.com/repos/micro/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/micro/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/micro/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/micro/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/micro/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/micro/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micro/protobuf/merges","archive_url":"https://api.github.com/repos/micro/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micro/protobuf/downloads","issues_url":"https://api.github.com/repos/micro/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/micro/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/micro/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/micro/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micro/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/micro/protobuf/releases{/id}","deployments_url":"https://api.github.com/repos/micro/protobuf/deployments","created_at":"2015-11-29T00:30:41Z","updated_at":"2016-12-25T00:41:37Z","pushed_at":"2017-01-26T15:26:05Z","git_url":"git://github.com/micro/protobuf.git","ssh_url":"git@github.com:micro/protobuf.git","clone_url":"https://github.com/micro/protobuf.git","svn_url":"https://github.com/micro/protobuf","homepage":"","size":2706,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":10,"default_branch":"master"}},"base":{"label":"micro:master","ref":"master","sha":"1d0e17dcbda18896c02308aa2ec244288ea6f732","user":{"login":"micro","id":5161210,"avatar_url":"https://avatars.githubusercontent.com/u/5161210?v=3","gravatar_id":"","url":"https://api.github.com/users/micro","html_url":"https://github.com/micro","followers_url":"https://api.github.com/users/micro/followers","following_url":"https://api.github.com/users/micro/following{/other_user}","gists_url":"https://api.github.com/users/micro/gists{/gist_id}","starred_url":"https://api.github.com/users/micro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro/subscriptions","organizations_url":"https://api.github.com/users/micro/orgs","repos_url":"https://api.github.com/users/micro/repos","events_url":"https://api.github.com/users/micro/events{/privacy}","received_events_url":"https://api.github.com/users/micro/received_events","type":"Organization","site_admin":false},"repo":{"id":47044524,"name":"protobuf","full_name":"micro/protobuf","owner":{"login":"micro","id":5161210,"avatar_url":"https://avatars.githubusercontent.com/u/5161210?v=3","gravatar_id":"","url":"https://api.github.com/users/micro","html_url":"https://github.com/micro","followers_url":"https://api.github.com/users/micro/followers","following_url":"https://api.github.com/users/micro/following{/other_user}","gists_url":"https://api.github.com/users/micro/gists{/gist_id}","starred_url":"https://api.github.com/users/micro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro/subscriptions","organizations_url":"https://api.github.com/users/micro/orgs","repos_url":"https://api.github.com/users/micro/repos","events_url":"https://api.github.com/users/micro/events{/privacy}","received_events_url":"https://api.github.com/users/micro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micro/protobuf","description":"Code generation for go-micro microservices","fork":true,"url":"https://api.github.com/repos/micro/protobuf","forks_url":"https://api.github.com/repos/micro/protobuf/forks","keys_url":"https://api.github.com/repos/micro/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micro/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micro/protobuf/teams","hooks_url":"https://api.github.com/repos/micro/protobuf/hooks","issue_events_url":"https://api.github.com/repos/micro/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/micro/protobuf/events","assignees_url":"https://api.github.com/repos/micro/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/micro/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/micro/protobuf/tags","blobs_url":"https://api.github.com/repos/micro/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micro/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micro/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/micro/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micro/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/micro/protobuf/languages","stargazers_url":"https://api.github.com/repos/micro/protobuf/stargazers","contributors_url":"https://api.github.com/repos/micro/protobuf/contributors","subscribers_url":"https://api.github.com/repos/micro/protobuf/subscribers","subscription_url":"https://api.github.com/repos/micro/protobuf/subscription","commits_url":"https://api.github.com/repos/micro/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/micro/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/micro/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/micro/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/micro/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/micro/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micro/protobuf/merges","archive_url":"https://api.github.com/repos/micro/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micro/protobuf/downloads","issues_url":"https://api.github.com/repos/micro/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/micro/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/micro/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/micro/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micro/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/micro/protobuf/releases{/id}","deployments_url":"https://api.github.com/repos/micro/protobuf/deployments","created_at":"2015-11-29T00:30:41Z","updated_at":"2016-12-25T00:41:37Z","pushed_at":"2017-01-26T15:26:05Z","git_url":"git://github.com/micro/protobuf.git","ssh_url":"git@github.com:micro/protobuf.git","clone_url":"https://github.com/micro/protobuf.git","svn_url":"https://github.com/micro/protobuf","homepage":"","size":2706,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/micro/protobuf/pulls/3"},"html":{"href":"https://github.com/micro/protobuf/pull/3"},"issue":{"href":"https://api.github.com/repos/micro/protobuf/issues/3"},"comments":{"href":"https://api.github.com/repos/micro/protobuf/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/micro/protobuf/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/micro/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/micro/protobuf/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/micro/protobuf/statuses/07e4056bb99d721c55c2d215c9786fe94513a89c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"asim","id":17530,"avatar_url":"https://avatars.githubusercontent.com/u/17530?v=3","gravatar_id":"","url":"https://api.github.com/users/asim","html_url":"https://github.com/asim","followers_url":"https://api.github.com/users/asim/followers","following_url":"https://api.github.com/users/asim/following{/other_user}","gists_url":"https://api.github.com/users/asim/gists{/gist_id}","starred_url":"https://api.github.com/users/asim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asim/subscriptions","organizations_url":"https://api.github.com/users/asim/orgs","repos_url":"https://api.github.com/users/asim/repos","events_url":"https://api.github.com/users/asim/events{/privacy}","received_events_url":"https://api.github.com/users/asim/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":50,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"asim"}}