{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78","id":54541868,"html_url":"https://github.com/gengo/grpc-gateway/pull/78","diff_url":"https://github.com/gengo/grpc-gateway/pull/78.diff","patch_url":"https://github.com/gengo/grpc-gateway/pull/78.patch","issue_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/78","number":78,"state":"open","locked":false,"title":"Add abstraction of code generator implementation","user":{"login":"yugui","id":8161,"avatar_url":"https://avatars.githubusercontent.com/u/8161?v=3","gravatar_id":"","url":"https://api.github.com/users/yugui","html_url":"https://github.com/yugui","followers_url":"https://api.github.com/users/yugui/followers","following_url":"https://api.github.com/users/yugui/following{/other_user}","gists_url":"https://api.github.com/users/yugui/gists{/gist_id}","starred_url":"https://api.github.com/users/yugui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugui/subscriptions","organizations_url":"https://api.github.com/users/yugui/orgs","repos_url":"https://api.github.com/users/yugui/repos","events_url":"https://api.github.com/users/yugui/events{/privacy}","received_events_url":"https://api.github.com/users/yugui/received_events","type":"User","site_admin":false},"body":"It helps us to add more types of code generators.\r\n\r\nIt also fixes a golint error:\r\n> exported func New returns unexported type *gengateway.generator, which\r\n> can be annoying to use","created_at":"2015-12-24T10:19:00Z","updated_at":"2015-12-24T10:19:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78/commits","review_comments_url":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78/comments","review_comment_url":"https://api.github.com/repos/gengo/grpc-gateway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/78/comments","statuses_url":"https://api.github.com/repos/gengo/grpc-gateway/statuses/dcb952971dfc7fa04df4961e57085c5cb5ccdae9","head":{"label":"gengo:fix/golint","ref":"fix/golint","sha":"dcb952971dfc7fa04df4961e57085c5cb5ccdae9","user":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"repo":{"id":33352201,"name":"grpc-gateway","full_name":"gengo/grpc-gateway","owner":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gengo/grpc-gateway","description":"gRPC to JSON proxy generator","fork":false,"url":"https://api.github.com/repos/gengo/grpc-gateway","forks_url":"https://api.github.com/repos/gengo/grpc-gateway/forks","keys_url":"https://api.github.com/repos/gengo/grpc-gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gengo/grpc-gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gengo/grpc-gateway/teams","hooks_url":"https://api.github.com/repos/gengo/grpc-gateway/hooks","issue_events_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/events{/number}","events_url":"https://api.github.com/repos/gengo/grpc-gateway/events","assignees_url":"https://api.github.com/repos/gengo/grpc-gateway/assignees{/user}","branches_url":"https://api.github.com/repos/gengo/grpc-gateway/branches{/branch}","tags_url":"https://api.github.com/repos/gengo/grpc-gateway/tags","blobs_url":"https://api.github.com/repos/gengo/grpc-gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gengo/grpc-gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gengo/grpc-gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/gengo/grpc-gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gengo/grpc-gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/gengo/grpc-gateway/languages","stargazers_url":"https://api.github.com/repos/gengo/grpc-gateway/stargazers","contributors_url":"https://api.github.com/repos/gengo/grpc-gateway/contributors","subscribers_url":"https://api.github.com/repos/gengo/grpc-gateway/subscribers","subscription_url":"https://api.github.com/repos/gengo/grpc-gateway/subscription","commits_url":"https://api.github.com/repos/gengo/grpc-gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/gengo/grpc-gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/gengo/grpc-gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/gengo/grpc-gateway/contents/{+path}","compare_url":"https://api.github.com/repos/gengo/grpc-gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gengo/grpc-gateway/merges","archive_url":"https://api.github.com/repos/gengo/grpc-gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gengo/grpc-gateway/downloads","issues_url":"https://api.github.com/repos/gengo/grpc-gateway/issues{/number}","pulls_url":"https://api.github.com/repos/gengo/grpc-gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/gengo/grpc-gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/gengo/grpc-gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gengo/grpc-gateway/labels{/name}","releases_url":"https://api.github.com/repos/gengo/grpc-gateway/releases{/id}","created_at":"2015-04-03T07:25:13Z","updated_at":"2015-12-24T03:30:17Z","pushed_at":"2015-12-24T10:18:21Z","git_url":"git://github.com/gengo/grpc-gateway.git","ssh_url":"git@github.com:gengo/grpc-gateway.git","clone_url":"https://github.com/gengo/grpc-gateway.git","svn_url":"https://github.com/gengo/grpc-gateway","homepage":null,"size":298,"stargazers_count":233,"watchers_count":233,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":15,"forks":25,"open_issues":15,"watchers":233,"default_branch":"master"}},"base":{"label":"gengo:master","ref":"master","sha":"714a8dfd54de46ded37b8cdb22c97b57e97b230b","user":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"repo":{"id":33352201,"name":"grpc-gateway","full_name":"gengo/grpc-gateway","owner":{"login":"gengo","id":1681251,"avatar_url":"https://avatars.githubusercontent.com/u/1681251?v=3","gravatar_id":"","url":"https://api.github.com/users/gengo","html_url":"https://github.com/gengo","followers_url":"https://api.github.com/users/gengo/followers","following_url":"https://api.github.com/users/gengo/following{/other_user}","gists_url":"https://api.github.com/users/gengo/gists{/gist_id}","starred_url":"https://api.github.com/users/gengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengo/subscriptions","organizations_url":"https://api.github.com/users/gengo/orgs","repos_url":"https://api.github.com/users/gengo/repos","events_url":"https://api.github.com/users/gengo/events{/privacy}","received_events_url":"https://api.github.com/users/gengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gengo/grpc-gateway","description":"gRPC to JSON proxy generator","fork":false,"url":"https://api.github.com/repos/gengo/grpc-gateway","forks_url":"https://api.github.com/repos/gengo/grpc-gateway/forks","keys_url":"https://api.github.com/repos/gengo/grpc-gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gengo/grpc-gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gengo/grpc-gateway/teams","hooks_url":"https://api.github.com/repos/gengo/grpc-gateway/hooks","issue_events_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/events{/number}","events_url":"https://api.github.com/repos/gengo/grpc-gateway/events","assignees_url":"https://api.github.com/repos/gengo/grpc-gateway/assignees{/user}","branches_url":"https://api.github.com/repos/gengo/grpc-gateway/branches{/branch}","tags_url":"https://api.github.com/repos/gengo/grpc-gateway/tags","blobs_url":"https://api.github.com/repos/gengo/grpc-gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gengo/grpc-gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gengo/grpc-gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/gengo/grpc-gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gengo/grpc-gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/gengo/grpc-gateway/languages","stargazers_url":"https://api.github.com/repos/gengo/grpc-gateway/stargazers","contributors_url":"https://api.github.com/repos/gengo/grpc-gateway/contributors","subscribers_url":"https://api.github.com/repos/gengo/grpc-gateway/subscribers","subscription_url":"https://api.github.com/repos/gengo/grpc-gateway/subscription","commits_url":"https://api.github.com/repos/gengo/grpc-gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/gengo/grpc-gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/gengo/grpc-gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/gengo/grpc-gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/gengo/grpc-gateway/contents/{+path}","compare_url":"https://api.github.com/repos/gengo/grpc-gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gengo/grpc-gateway/merges","archive_url":"https://api.github.com/repos/gengo/grpc-gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gengo/grpc-gateway/downloads","issues_url":"https://api.github.com/repos/gengo/grpc-gateway/issues{/number}","pulls_url":"https://api.github.com/repos/gengo/grpc-gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/gengo/grpc-gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/gengo/grpc-gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gengo/grpc-gateway/labels{/name}","releases_url":"https://api.github.com/repos/gengo/grpc-gateway/releases{/id}","created_at":"2015-04-03T07:25:13Z","updated_at":"2015-12-24T03:30:17Z","pushed_at":"2015-12-24T10:18:21Z","git_url":"git://github.com/gengo/grpc-gateway.git","ssh_url":"git@github.com:gengo/grpc-gateway.git","clone_url":"https://github.com/gengo/grpc-gateway.git","svn_url":"https://github.com/gengo/grpc-gateway","homepage":null,"size":298,"stargazers_count":233,"watchers_count":233,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":15,"forks":25,"open_issues":15,"watchers":233,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78"},"html":{"href":"https://github.com/gengo/grpc-gateway/pull/78"},"issue":{"href":"https://api.github.com/repos/gengo/grpc-gateway/issues/78"},"comments":{"href":"https://api.github.com/repos/gengo/grpc-gateway/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/gengo/grpc-gateway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gengo/grpc-gateway/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/gengo/grpc-gateway/statuses/dcb952971dfc7fa04df4961e57085c5cb5ccdae9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":1,"changed_files":2}}