{"action":"opened","number":110,"pull_request":{"url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110","id":121246942,"html_url":"https://github.com/AndrewRadev/splitjoin.vim/pull/110","diff_url":"https://github.com/AndrewRadev/splitjoin.vim/pull/110.diff","patch_url":"https://github.com/AndrewRadev/splitjoin.vim/pull/110.patch","issue_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/110","number":110,"state":"open","locked":false,"title":"Add support for golang func definition and func calls","user":{"login":"Genki-S","id":1609598,"avatar_url":"https://avatars2.githubusercontent.com/u/1609598?v=3","gravatar_id":"","url":"https://api.github.com/users/Genki-S","html_url":"https://github.com/Genki-S","followers_url":"https://api.github.com/users/Genki-S/followers","following_url":"https://api.github.com/users/Genki-S/following{/other_user}","gists_url":"https://api.github.com/users/Genki-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Genki-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genki-S/subscriptions","organizations_url":"https://api.github.com/users/Genki-S/orgs","repos_url":"https://api.github.com/users/Genki-S/repos","events_url":"https://api.github.com/users/Genki-S/events{/privacy}","received_events_url":"https://api.github.com/users/Genki-S/received_events","type":"User","site_admin":false},"body":"Hi, I've added a feature for splitting/joining golang func definitions and func calls.\r\nI've been using this myself for a week or so, and seems to be working properly.\r\n\r\nThis is a superset of #107, which adds splitting/joining of func calls.\r\nThis PR also includes test cases.\r\n(only after I wrote this I realized there's already a similar PR, sorry!)\r\n\r\nLet me know if there's something I can improve.\r\nThanks!","created_at":"2017-05-18T10:10:42Z","updated_at":"2017-05-18T10:10:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110/commits","review_comments_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110/comments","review_comment_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/110/comments","statuses_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/statuses/729015d26c70fdc49992579541f467fb45a8c5e8","head":{"label":"Genki-S:golang-func-support","ref":"golang-func-support","sha":"729015d26c70fdc49992579541f467fb45a8c5e8","user":{"login":"Genki-S","id":1609598,"avatar_url":"https://avatars2.githubusercontent.com/u/1609598?v=3","gravatar_id":"","url":"https://api.github.com/users/Genki-S","html_url":"https://github.com/Genki-S","followers_url":"https://api.github.com/users/Genki-S/followers","following_url":"https://api.github.com/users/Genki-S/following{/other_user}","gists_url":"https://api.github.com/users/Genki-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Genki-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genki-S/subscriptions","organizations_url":"https://api.github.com/users/Genki-S/orgs","repos_url":"https://api.github.com/users/Genki-S/repos","events_url":"https://api.github.com/users/Genki-S/events{/privacy}","received_events_url":"https://api.github.com/users/Genki-S/received_events","type":"User","site_admin":false},"repo":{"id":71684203,"name":"splitjoin.vim","full_name":"Genki-S/splitjoin.vim","owner":{"login":"Genki-S","id":1609598,"avatar_url":"https://avatars2.githubusercontent.com/u/1609598?v=3","gravatar_id":"","url":"https://api.github.com/users/Genki-S","html_url":"https://github.com/Genki-S","followers_url":"https://api.github.com/users/Genki-S/followers","following_url":"https://api.github.com/users/Genki-S/following{/other_user}","gists_url":"https://api.github.com/users/Genki-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Genki-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Genki-S/subscriptions","organizations_url":"https://api.github.com/users/Genki-S/orgs","repos_url":"https://api.github.com/users/Genki-S/repos","events_url":"https://api.github.com/users/Genki-S/events{/privacy}","received_events_url":"https://api.github.com/users/Genki-S/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Genki-S/splitjoin.vim","description":"A vim plugin that simplifies the transition between multiline and single-line code","fork":true,"url":"https://api.github.com/repos/Genki-S/splitjoin.vim","forks_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/forks","keys_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/teams","hooks_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/hooks","issue_events_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/issues/events{/number}","events_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/events","assignees_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/assignees{/user}","branches_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/branches{/branch}","tags_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/tags","blobs_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/languages","stargazers_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/stargazers","contributors_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/contributors","subscribers_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/subscribers","subscription_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/subscription","commits_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/contents/{+path}","compare_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/merges","archive_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/downloads","issues_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/issues{/number}","pulls_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/labels{/name}","releases_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/releases{/id}","deployments_url":"https://api.github.com/repos/Genki-S/splitjoin.vim/deployments","created_at":"2016-10-23T05:41:38Z","updated_at":"2016-10-23T05:41:39Z","pushed_at":"2017-05-18T10:09:35Z","git_url":"git://github.com/Genki-S/splitjoin.vim.git","ssh_url":"git@github.com:Genki-S/splitjoin.vim.git","clone_url":"https://github.com/Genki-S/splitjoin.vim.git","svn_url":"https://github.com/Genki-S/splitjoin.vim","homepage":"http://www.vim.org/scripts/script.php?script_id=3613","size":630,"stargazers_count":0,"watchers_count":0,"language":"VimL","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"AndrewRadev:master","ref":"master","sha":"081c2458619d221e5a18942157827c55f929a740","user":{"login":"AndrewRadev","id":124255,"avatar_url":"https://avatars0.githubusercontent.com/u/124255?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewRadev","html_url":"https://github.com/AndrewRadev","followers_url":"https://api.github.com/users/AndrewRadev/followers","following_url":"https://api.github.com/users/AndrewRadev/following{/other_user}","gists_url":"https://api.github.com/users/AndrewRadev/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewRadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewRadev/subscriptions","organizations_url":"https://api.github.com/users/AndrewRadev/orgs","repos_url":"https://api.github.com/users/AndrewRadev/repos","events_url":"https://api.github.com/users/AndrewRadev/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewRadev/received_events","type":"User","site_admin":false},"repo":{"id":1445890,"name":"splitjoin.vim","full_name":"AndrewRadev/splitjoin.vim","owner":{"login":"AndrewRadev","id":124255,"avatar_url":"https://avatars0.githubusercontent.com/u/124255?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewRadev","html_url":"https://github.com/AndrewRadev","followers_url":"https://api.github.com/users/AndrewRadev/followers","following_url":"https://api.github.com/users/AndrewRadev/following{/other_user}","gists_url":"https://api.github.com/users/AndrewRadev/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewRadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewRadev/subscriptions","organizations_url":"https://api.github.com/users/AndrewRadev/orgs","repos_url":"https://api.github.com/users/AndrewRadev/repos","events_url":"https://api.github.com/users/AndrewRadev/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewRadev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewRadev/splitjoin.vim","description":"A vim plugin that simplifies the transition between multiline and single-line code","fork":false,"url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim","forks_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/forks","keys_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/teams","hooks_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/hooks","issue_events_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/events","assignees_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/tags","blobs_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/languages","stargazers_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/stargazers","contributors_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/contributors","subscribers_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/subscribers","subscription_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/subscription","commits_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/merges","archive_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/downloads","issues_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/labels{/name}","releases_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/deployments","created_at":"2011-03-06T09:17:55Z","updated_at":"2017-05-17T06:27:31Z","pushed_at":"2017-05-14T01:00:32Z","git_url":"git://github.com/AndrewRadev/splitjoin.vim.git","ssh_url":"git@github.com:AndrewRadev/splitjoin.vim.git","clone_url":"https://github.com/AndrewRadev/splitjoin.vim.git","svn_url":"https://github.com/AndrewRadev/splitjoin.vim","homepage":"http://www.vim.org/scripts/script.php?script_id=3613","size":658,"stargazers_count":600,"watchers_count":600,"language":"Vim script","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":19,"forks":46,"open_issues":19,"watchers":600,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110"},"html":{"href":"https://github.com/AndrewRadev/splitjoin.vim/pull/110"},"issue":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/110"},"comments":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewRadev/splitjoin.vim/statuses/729015d26c70fdc49992579541f467fb45a8c5e8"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":213,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"Genki-S"}}