{"action":"created","comment":{"url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/comments/40032974","id":40032974,"diff_hunk":"@@ -131,22 +132,39 @@ func (m *Message) AddArg(arg string) *Message {\n \treturn m\n }\n \n-// AsSlice outputs the given Message as a string slice.\n-// The slice contains the string form of the Message's word in index 0, and\n-// the arguments as index 1 upwards, if any.\n-func (m *Message) AsSlice() []string {\n-\tslice := []string{m.word.String()}\n-\tfor _, arg := range m.args {\n-\t\tslice = append(slice, arg)\n-\t}\n-\treturn slice\n+func escapeArgument(input string) (output string) {\n+\treturn \"'\" + strings.Replace(input, \"'\", `'\\''`, -1) + \"'\"","path":"message/message.go","position":74,"original_position":74,"commit_id":"03e357f3bd9a64138822f30c556282c7eb8e0dfd","original_commit_id":"03e357f3bd9a64138822f30c556282c7eb8e0dfd","user":{"login":"CaptainHayashi","id":374963,"avatar_url":"https://avatars.githubusercontent.com/u/374963?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptainHayashi","html_url":"https://github.com/CaptainHayashi","followers_url":"https://api.github.com/users/CaptainHayashi/followers","following_url":"https://api.github.com/users/CaptainHayashi/following{/other_user}","gists_url":"https://api.github.com/users/CaptainHayashi/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainHayashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainHayashi/subscriptions","organizations_url":"https://api.github.com/users/CaptainHayashi/orgs","repos_url":"https://api.github.com/users/CaptainHayashi/repos","events_url":"https://api.github.com/users/CaptainHayashi/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainHayashi/received_events","type":"User","site_admin":false},"body":"Why is this return named?","created_at":"2015-09-21T22:09:05Z","updated_at":"2015-09-21T22:09:05Z","html_url":"https://github.com/UniversityRadioYork/bifrost-go/pull/20#discussion_r40032974","pull_request_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/comments/40032974"},"html":{"href":"https://github.com/UniversityRadioYork/bifrost-go/pull/20#discussion_r40032974"},"pull_request":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20","id":45606032,"html_url":"https://github.com/UniversityRadioYork/bifrost-go/pull/20","diff_url":"https://github.com/UniversityRadioYork/bifrost-go/pull/20.diff","patch_url":"https://github.com/UniversityRadioYork/bifrost-go/pull/20.patch","issue_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/20","number":20,"state":"open","locked":false,"title":"Separate out some stuff into their own packages","user":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"body":"Among other changes","created_at":"2015-09-21T22:02:18Z","updated_at":"2015-09-21T22:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c04966cede1ecd39dfac3bae6d226c872b5234bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20/commits","review_comments_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20/comments","review_comment_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/20/comments","statuses_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/statuses/03e357f3bd9a64138822f30c556282c7eb8e0dfd","head":{"label":"LordAro:packageise","ref":"packageise","sha":"03e357f3bd9a64138822f30c556282c7eb8e0dfd","user":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"repo":{"id":42741274,"name":"bifrost-go","full_name":"LordAro/bifrost-go","owner":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LordAro/bifrost-go","description":"Bifrost protocol implementation in Go","fork":true,"url":"https://api.github.com/repos/LordAro/bifrost-go","forks_url":"https://api.github.com/repos/LordAro/bifrost-go/forks","keys_url":"https://api.github.com/repos/LordAro/bifrost-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LordAro/bifrost-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LordAro/bifrost-go/teams","hooks_url":"https://api.github.com/repos/LordAro/bifrost-go/hooks","issue_events_url":"https://api.github.com/repos/LordAro/bifrost-go/issues/events{/number}","events_url":"https://api.github.com/repos/LordAro/bifrost-go/events","assignees_url":"https://api.github.com/repos/LordAro/bifrost-go/assignees{/user}","branches_url":"https://api.github.com/repos/LordAro/bifrost-go/branches{/branch}","tags_url":"https://api.github.com/repos/LordAro/bifrost-go/tags","blobs_url":"https://api.github.com/repos/LordAro/bifrost-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LordAro/bifrost-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LordAro/bifrost-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/LordAro/bifrost-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LordAro/bifrost-go/statuses/{sha}","languages_url":"https://api.github.com/repos/LordAro/bifrost-go/languages","stargazers_url":"https://api.github.com/repos/LordAro/bifrost-go/stargazers","contributors_url":"https://api.github.com/repos/LordAro/bifrost-go/contributors","subscribers_url":"https://api.github.com/repos/LordAro/bifrost-go/subscribers","subscription_url":"https://api.github.com/repos/LordAro/bifrost-go/subscription","commits_url":"https://api.github.com/repos/LordAro/bifrost-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/LordAro/bifrost-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/LordAro/bifrost-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/LordAro/bifrost-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/LordAro/bifrost-go/contents/{+path}","compare_url":"https://api.github.com/repos/LordAro/bifrost-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LordAro/bifrost-go/merges","archive_url":"https://api.github.com/repos/LordAro/bifrost-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LordAro/bifrost-go/downloads","issues_url":"https://api.github.com/repos/LordAro/bifrost-go/issues{/number}","pulls_url":"https://api.github.com/repos/LordAro/bifrost-go/pulls{/number}","milestones_url":"https://api.github.com/repos/LordAro/bifrost-go/milestones{/number}","notifications_url":"https://api.github.com/repos/LordAro/bifrost-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LordAro/bifrost-go/labels{/name}","releases_url":"https://api.github.com/repos/LordAro/bifrost-go/releases{/id}","created_at":"2015-09-18T18:51:41Z","updated_at":"2015-09-18T18:51:42Z","pushed_at":"2015-09-21T22:01:31Z","git_url":"git://github.com/LordAro/bifrost-go.git","ssh_url":"git@github.com:LordAro/bifrost-go.git","clone_url":"https://github.com/LordAro/bifrost-go.git","svn_url":"https://github.com/LordAro/bifrost-go","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"UniversityRadioYork:protocol-v2","ref":"protocol-v2","sha":"db1818ae6821386ba7893881a35112f8e36dc663","user":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"repo":{"id":31230951,"name":"bifrost-go","full_name":"UniversityRadioYork/bifrost-go","owner":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UniversityRadioYork/bifrost-go","description":"Bifrost protocol implementation in Go","fork":false,"url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go","forks_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/forks","keys_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/teams","hooks_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/hooks","issue_events_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/events{/number}","events_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/events","assignees_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/assignees{/user}","branches_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/branches{/branch}","tags_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/tags","blobs_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/statuses/{sha}","languages_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/languages","stargazers_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/stargazers","contributors_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/contributors","subscribers_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/subscribers","subscription_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/subscription","commits_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/contents/{+path}","compare_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/merges","archive_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/downloads","issues_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues{/number}","pulls_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls{/number}","milestones_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/milestones{/number}","notifications_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/labels{/name}","releases_url":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/releases{/id}","created_at":"2015-02-23T21:32:24Z","updated_at":"2015-08-18T20:00:22Z","pushed_at":"2015-09-21T22:02:18Z","git_url":"git://github.com/UniversityRadioYork/bifrost-go.git","ssh_url":"git@github.com:UniversityRadioYork/bifrost-go.git","clone_url":"https://github.com/UniversityRadioYork/bifrost-go.git","svn_url":"https://github.com/UniversityRadioYork/bifrost-go","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20"},"html":{"href":"https://github.com/UniversityRadioYork/bifrost-go/pull/20"},"issue":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/20"},"comments":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/UniversityRadioYork/bifrost-go/statuses/03e357f3bd9a64138822f30c556282c7eb8e0dfd"}}}}