payload: {"action":"created","comment":{"url":"https://api.github.com/repos/gunk/gunk/pulls/comments/300262641","pull_request_review_id":257868292,"id":300262641,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMDI2MjY0MQ==","diff_hunk":"@@ -0,0 +1,62 @@\n+package parser\n+\n+import (\n+\t\"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options\"\n+)\n+\n+// File is a proto parsed file.\n+type File struct {\n+\tSwagger  *options.Swagger\n+\tMessages map[string]*Message\n+\tServices map[string]*Service\n+}\n+\n+// Message describes a proto message.\n+type Message struct {\n+\tName           string\n+\tComment        *Comment\n+\tFields         []*Field\n+\tNestedMessages map[string]*Message\n+}\n+\n+// Field describes a proto field.\n+type Field struct {\n+\tName    string\n+\tComment *Comment\n+\tType    string\n+}\n+\n+// Service describes a proto service.\n+type Service struct {\n+\tName    string\n+\tComment *Comment\n+\tMethods map[string]*Method\n+}\n+\n+// Method describes a proto method.\n+type Method struct {\n+\tName        string\n+\tComment     *Comment\n+\tHTTPRequest string\n+\tRequest     *Request\n+\tResponse    *Message\n+\tOperation   *options.Operation\n+}\n+\n+// Request describes an HTTP request.\n+type Request struct {\n+\tVerb  string\n+\tURI   string\n+\tBody  *Message\n+\tQuery []*Field\n+}\n+\n+// Comment describes a comment.\n+type Comment struct {\n+\tLeading  string\n+\tTrailing string\n+\tDetached []string\n+}\n+\n+// Comments wrap all comments from the proto file.","path":"docgen/parser/model.go","position":61,"original_position":61,"commit_id":"48682d55145d845168162dba3491b281e6be71df","original_commit_id":"48682d55145d845168162dba3491b281e6be71df","user":{"login":"mvdan","id":3576549,"node_id":"MDQ6VXNlcjM1NzY1NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/3576549?v=4","gravatar_id":"","url":"https://api.github.com/users/mvdan","html_url":"https://github.com/mvdan","followers_url":"https://api.github.com/users/mvdan/followers","following_url":"https://api.github.com/users/mvdan/following{/other_user}","gists_url":"https://api.github.com/users/mvdan/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdan/subscriptions","organizations_url":"https://api.github.com/users/mvdan/orgs","repos_url":"https://api.github.com/users/mvdan/repos","events_url":"https://api.github.com/users/mvdan/events{/privacy}","received_events_url":"https://api.github.com/users/mvdan/received_events","type":"User","site_admin":false},"body":"`wraps`","created_at":"2019-07-04T07:28:56Z","updated_at":"2019-07-04T07:30:20Z","html_url":"https://github.com/gunk/gunk/pull/231#discussion_r300262641","pull_request_url":"https://api.github.com/repos/gunk/gunk/pulls/231","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/gunk/gunk/pulls/comments/300262641"},"html":{"href":"https://github.com/gunk/gunk/pull/231#discussion_r300262641"},"pull_request":{"href":"https://api.github.com/repos/gunk/gunk/pulls/231"}}},"pull_request":{"url":"https://api.github.com/repos/gunk/gunk/pulls/231","id":294179761,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk0MTc5NzYx","html_url":"https://github.com/gunk/gunk/pull/231","diff_url":"https://github.com/gunk/gunk/pull/231.diff","patch_url":"https://github.com/gunk/gunk/pull/231.patch","issue_url":"https://api.github.com/repos/gunk/gunk/issues/231","number":231,"state":"open","locked":false,"title":"docgen: generate service doc based on markdown template","user":{"login":"cedric-parisi","id":24891190,"node_id":"MDQ6VXNlcjI0ODkxMTkw","avatar_url":"https://avatars0.githubusercontent.com/u/24891190?v=4","gravatar_id":"","url":"https://api.github.com/users/cedric-parisi","html_url":"https://github.com/cedric-parisi","followers_url":"https://api.github.com/users/cedric-parisi/followers","following_url":"https://api.github.com/users/cedric-parisi/following{/other_user}","gists_url":"https://api.github.com/users/cedric-parisi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedric-parisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedric-parisi/subscriptions","organizations_url":"https://api.github.com/users/cedric-parisi/orgs","repos_url":"https://api.github.com/users/cedric-parisi/repos","events_url":"https://api.github.com/users/cedric-parisi/events{/privacy}","received_events_url":"https://api.github.com/users/cedric-parisi/received_events","type":"User","site_admin":false},"body":"Refactor docgen pkg to generate service doc and pot files\r\nat the same time.","created_at":"2019-07-03T13:52:45Z","updated_at":"2019-07-04T07:30:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1db546982e7a20a18da8595eb76b323015089032","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gunk/gunk/pulls/231/commits","review_comments_url":"https://api.github.com/repos/gunk/gunk/pulls/231/comments","review_comment_url":"https://api.github.com/repos/gunk/gunk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gunk/gunk/issues/231/comments","statuses_url":"https://api.github.com/repos/gunk/gunk/statuses/48682d55145d845168162dba3491b281e6be71df","head":{"label":"cedric-parisi:docgen-md","ref":"docgen-md","sha":"48682d55145d845168162dba3491b281e6be71df","user":{"login":"cedric-parisi","id":24891190,"node_id":"MDQ6VXNlcjI0ODkxMTkw","avatar_url":"https://avatars0.githubusercontent.com/u/24891190?v=4","gravatar_id":"","url":"https://api.github.com/users/cedric-parisi","html_url":"https://github.com/cedric-parisi","followers_url":"https://api.github.com/users/cedric-parisi/followers","following_url":"https://api.github.com/users/cedric-parisi/following{/other_user}","gists_url":"https://api.github.com/users/cedric-parisi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedric-parisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedric-parisi/subscriptions","organizations_url":"https://api.github.com/users/cedric-parisi/orgs","repos_url":"https://api.github.com/users/cedric-parisi/repos","events_url":"https://api.github.com/users/cedric-parisi/events{/privacy}","received_events_url":"https://api.github.com/users/cedric-parisi/received_events","type":"User","site_admin":false},"repo":{"id":188893070,"node_id":"MDEwOlJlcG9zaXRvcnkxODg4OTMwNzA=","name":"gunk","full_name":"cedric-parisi/gunk","private":false,"owner":{"login":"cedric-parisi","id":24891190,"node_id":"MDQ6VXNlcjI0ODkxMTkw","avatar_url":"https://avatars0.githubusercontent.com/u/24891190?v=4","gravatar_id":"","url":"https://api.github.com/users/cedric-parisi","html_url":"https://github.com/cedric-parisi","followers_url":"https://api.github.com/users/cedric-parisi/followers","following_url":"https://api.github.com/users/cedric-parisi/following{/other_user}","gists_url":"https://api.github.com/users/cedric-parisi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedric-parisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedric-parisi/subscriptions","organizations_url":"https://api.github.com/users/cedric-parisi/orgs","repos_url":"https://api.github.com/users/cedric-parisi/repos","events_url":"https://api.github.com/users/cedric-parisi/events{/privacy}","received_events_url":"https://api.github.com/users/cedric-parisi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cedric-parisi/gunk","description":"Modern frontend and syntax for Protocol Buffers","fork":true,"url":"https://api.github.com/repos/cedric-parisi/gunk","forks_url":"https://api.github.com/repos/cedric-parisi/gunk/forks","keys_url":"https://api.github.com/repos/cedric-parisi/gunk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cedric-parisi/gunk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cedric-parisi/gunk/teams","hooks_url":"https://api.github.com/repos/cedric-parisi/gunk/hooks","issue_events_url":"https://api.github.com/repos/cedric-parisi/gunk/issues/events{/number}","events_url":"https://api.github.com/repos/cedric-parisi/gunk/events","assignees_url":"https://api.github.com/repos/cedric-parisi/gunk/assignees{/user}","branches_url":"https://api.github.com/repos/cedric-parisi/gunk/branches{/branch}","tags_url":"https://api.github.com/repos/cedric-parisi/gunk/tags","blobs_url":"https://api.github.com/repos/cedric-parisi/gunk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cedric-parisi/gunk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cedric-parisi/gunk/git/refs{/sha}","trees_url":"https://api.github.com/repos/cedric-parisi/gunk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cedric-parisi/gunk/statuses/{sha}","languages_url":"https://api.github.com/repos/cedric-parisi/gunk/languages","stargazers_url":"https://api.github.com/repos/cedric-parisi/gunk/stargazers","contributors_url":"https://api.github.com/repos/cedric-parisi/gunk/contributors","subscribers_url":"https://api.github.com/repos/cedric-parisi/gunk/subscribers","subscription_url":"https://api.github.com/repos/cedric-parisi/gunk/subscription","commits_url":"https://api.github.com/repos/cedric-parisi/gunk/commits{/sha}","git_commits_url":"https://api.github.com/repos/cedric-parisi/gunk/git/commits{/sha}","comments_url":"https://api.github.com/repos/cedric-parisi/gunk/comments{/number}","issue_comment_url":"https://api.github.com/repos/cedric-parisi/gunk/issues/comments{/number}","contents_url":"https://api.github.com/repos/cedric-parisi/gunk/contents/{+path}","compare_url":"https://api.github.com/repos/cedric-parisi/gunk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cedric-parisi/gunk/merges","archive_url":"https://api.github.com/repos/cedric-parisi/gunk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cedric-parisi/gunk/downloads","issues_url":"https://api.github.com/repos/cedric-parisi/gunk/issues{/number}","pulls_url":"https://api.github.com/repos/cedric-parisi/gunk/pulls{/number}","milestones_url":"https://api.github.com/repos/cedric-parisi/gunk/milestones{/number}","notifications_url":"https://api.github.com/repos/cedric-parisi/gunk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cedric-parisi/gunk/labels{/name}","releases_url":"https://api.github.com/repos/cedric-parisi/gunk/releases{/id}","deployments_url":"https://api.github.com/repos/cedric-parisi/gunk/deployments","created_at":"2019-05-27T18:40:42Z","updated_at":"2019-06-26T09:22:53Z","pushed_at":"2019-07-03T13:57:00Z","git_url":"git://github.com/cedric-parisi/gunk.git","ssh_url":"git@github.com:cedric-parisi/gunk.git","clone_url":"https://github.com/cedric-parisi/gunk.git","svn_url":"https://github.com/cedric-parisi/gunk","homepage":"","size":3253,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gunk:master","ref":"master","sha":"2f60e237dde09cdcdf6d4cd30a930018838aa536","user":{"login":"gunk","id":35090686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MDkwNjg2","avatar_url":"https://avatars2.githubusercontent.com/u/35090686?v=4","gravatar_id":"","url":"https://api.github.com/users/gunk","html_url":"https://github.com/gunk","followers_url":"https://api.github.com/users/gunk/followers","following_url":"https://api.github.com/users/gunk/following{/other_user}","gists_url":"https://api.github.com/users/gunk/gists{/gist_id}","starred_url":"https://api.github.com/users/gunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunk/subscriptions","organizations_url":"https://api.github.com/users/gunk/orgs","repos_url":"https://api.github.com/users/gunk/repos","events_url":"https://api.github.com/users/gunk/events{/privacy}","received_events_url":"https://api.github.com/users/gunk/received_events","type":"Organization","site_admin":false},"repo":{"id":116217180,"node_id":"MDEwOlJlcG9zaXRvcnkxMTYyMTcxODA=","name":"gunk","full_name":"gunk/gunk","private":false,"owner":{"login":"gunk","id":35090686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MDkwNjg2","avatar_url":"https://avatars2.githubusercontent.com/u/35090686?v=4","gravatar_id":"","url":"https://api.github.com/users/gunk","html_url":"https://github.com/gunk","followers_url":"https://api.github.com/users/gunk/followers","following_url":"https://api.github.com/users/gunk/following{/other_user}","gists_url":"https://api.github.com/users/gunk/gists{/gist_id}","starred_url":"https://api.github.com/users/gunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunk/subscriptions","organizations_url":"https://api.github.com/users/gunk/orgs","repos_url":"https://api.github.com/users/gunk/repos","events_url":"https://api.github.com/users/gunk/events{/privacy}","received_events_url":"https://api.github.com/users/gunk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gunk/gunk","description":"Modern frontend and syntax for Protocol Buffers","fork":false,"url":"https://api.github.com/repos/gunk/gunk","forks_url":"https://api.github.com/repos/gunk/gunk/forks","keys_url":"https://api.github.com/repos/gunk/gunk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gunk/gunk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gunk/gunk/teams","hooks_url":"https://api.github.com/repos/gunk/gunk/hooks","issue_events_url":"https://api.github.com/repos/gunk/gunk/issues/events{/number}","events_url":"https://api.github.com/repos/gunk/gunk/events","assignees_url":"https://api.github.com/repos/gunk/gunk/assignees{/user}","branches_url":"https://api.github.com/repos/gunk/gunk/branches{/branch}","tags_url":"https://api.github.com/repos/gunk/gunk/tags","blobs_url":"https://api.github.com/repos/gunk/gunk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gunk/gunk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gunk/gunk/git/refs{/sha}","trees_url":"https://api.github.com/repos/gunk/gunk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gunk/gunk/statuses/{sha}","languages_url":"https://api.github.com/repos/gunk/gunk/languages","stargazers_url":"https://api.github.com/repos/gunk/gunk/stargazers","contributors_url":"https://api.github.com/repos/gunk/gunk/contributors","subscribers_url":"https://api.github.com/repos/gunk/gunk/subscribers","subscription_url":"https://api.github.com/repos/gunk/gunk/subscription","commits_url":"https://api.github.com/repos/gunk/gunk/commits{/sha}","git_commits_url":"https://api.github.com/repos/gunk/gunk/git/commits{/sha}","comments_url":"https://api.github.com/repos/gunk/gunk/comments{/number}","issue_comment_url":"https://api.github.com/repos/gunk/gunk/issues/comments{/number}","contents_url":"https://api.github.com/repos/gunk/gunk/contents/{+path}","compare_url":"https://api.github.com/repos/gunk/gunk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gunk/gunk/merges","archive_url":"https://api.github.com/repos/gunk/gunk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gunk/gunk/downloads","issues_url":"https://api.github.com/repos/gunk/gunk/issues{/number}","pulls_url":"https://api.github.com/repos/gunk/gunk/pulls{/number}","milestones_url":"https://api.github.com/repos/gunk/gunk/milestones{/number}","notifications_url":"https://api.github.com/repos/gunk/gunk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gunk/gunk/labels{/name}","releases_url":"https://api.github.com/repos/gunk/gunk/releases{/id}","deployments_url":"https://api.github.com/repos/gunk/gunk/deployments","created_at":"2018-01-04T05:07:13Z","updated_at":"2019-06-28T05:45:18Z","pushed_at":"2019-07-03T13:57:01Z","git_url":"git://github.com/gunk/gunk.git","ssh_url":"git@github.com:gunk/gunk.git","clone_url":"https://github.com/gunk/gunk.git","svn_url":"https://github.com/gunk/gunk","homepage":"","size":818,"stargazers_count":262,"watchers_count":262,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":19,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gunk/gunk/pulls/231"},"html":{"href":"https://github.com/gunk/gunk/pull/231"},"issue":{"href":"https://api.github.com/repos/gunk/gunk/issues/231"},"comments":{"href":"https://api.github.com/repos/gunk/gunk/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/gunk/gunk/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/gunk/gunk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gunk/gunk/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/gunk/gunk/statuses/48682d55145d845168162dba3491b281e6be71df"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"mvdan"}}