{"action":"created","comment":{"url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/comments/69635956","id":69635956,"diff_hunk":"@@ -3,31 +3,30 @@ package main\n import (\n \t\"encoding/json\"\n \t\"fmt\"\n+\t\"strings\"\n )\n \n type runParams struct {\n \tTags          []string `json:\"tags,omitempty\"`\n \tSmartFolderID int      `json:\"smart_folder_id,omitempty\"`\n+\tSiteID        int      `json:\"site_id,omitempty\"`\n }\n \n type runResponse map[string]interface{}\n \n-type flagParser interface {\n-\tStringSlice(string) []string\n-\tInt(string) int\n-}\n-\n-func createRun(f flagParser) {\n-\tparams := makeParams(f)\n+func createRun() {\n+\tparams := makeParams()\n \tresBody := postRun(params)\n \n \tfmt.Println(resBody)\n }\n \n-func makeParams(c flagParser) *runParams {\n+func makeParams() *runParams {\n+\tslicedTags := strings.Split(tags, \",\")","path":"runner.go","position":31,"original_position":31,"commit_id":"d8db495ce39aecbc50703a8e45cad4c4b799bb54","original_commit_id":"4baa68c078c9c933e009a12e8e216b5e7f88c547","user":{"login":"DyerSituation","id":12620122,"avatar_url":"https://avatars.githubusercontent.com/u/12620122?v=3","gravatar_id":"","url":"https://api.github.com/users/DyerSituation","html_url":"https://github.com/DyerSituation","followers_url":"https://api.github.com/users/DyerSituation/followers","following_url":"https://api.github.com/users/DyerSituation/following{/other_user}","gists_url":"https://api.github.com/users/DyerSituation/gists{/gist_id}","starred_url":"https://api.github.com/users/DyerSituation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DyerSituation/subscriptions","organizations_url":"https://api.github.com/users/DyerSituation/orgs","repos_url":"https://api.github.com/users/DyerSituation/repos","events_url":"https://api.github.com/users/DyerSituation/events{/privacy}","received_events_url":"https://api.github.com/users/DyerSituation/received_events","type":"User","site_admin":false},"body":"no, it doesn't work that way as it is now. something to work on, or not a priority?\r\n","created_at":"2016-07-05T20:53:16Z","updated_at":"2016-07-05T20:53:16Z","html_url":"https://github.com/rainforestapp/rainforest-cli/pull/156#discussion_r69635956","pull_request_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/comments/69635956"},"html":{"href":"https://github.com/rainforestapp/rainforest-cli/pull/156#discussion_r69635956"},"pull_request":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156","id":76019948,"html_url":"https://github.com/rainforestapp/rainforest-cli/pull/156","diff_url":"https://github.com/rainforestapp/rainforest-cli/pull/156.diff","patch_url":"https://github.com/rainforestapp/rainforest-cli/pull/156.patch","issue_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/156","number":156,"state":"open","locked":false,"title":"[WIP] Refactor/go runs","user":{"login":"DyerSituation","id":12620122,"avatar_url":"https://avatars.githubusercontent.com/u/12620122?v=3","gravatar_id":"","url":"https://api.github.com/users/DyerSituation","html_url":"https://github.com/DyerSituation","followers_url":"https://api.github.com/users/DyerSituation/followers","following_url":"https://api.github.com/users/DyerSituation/following{/other_user}","gists_url":"https://api.github.com/users/DyerSituation/gists{/gist_id}","starred_url":"https://api.github.com/users/DyerSituation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DyerSituation/subscriptions","organizations_url":"https://api.github.com/users/DyerSituation/orgs","repos_url":"https://api.github.com/users/DyerSituation/repos","events_url":"https://api.github.com/users/DyerSituation/events{/privacy}","received_events_url":"https://api.github.com/users/DyerSituation/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-01T18:31:43Z","updated_at":"2016-07-05T20:53:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e60ac92f3744f8bb9c8460c1a186f43c91561b02","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156/commits","review_comments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156/comments","review_comment_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/156/comments","statuses_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/statuses/d8db495ce39aecbc50703a8e45cad4c4b799bb54","head":{"label":"rainforestapp:refactor/go-runs","ref":"refactor/go-runs","sha":"d8db495ce39aecbc50703a8e45cad4c4b799bb54","user":{"login":"rainforestapp","id":1892571,"avatar_url":"https://avatars.githubusercontent.com/u/1892571?v=3","gravatar_id":"","url":"https://api.github.com/users/rainforestapp","html_url":"https://github.com/rainforestapp","followers_url":"https://api.github.com/users/rainforestapp/followers","following_url":"https://api.github.com/users/rainforestapp/following{/other_user}","gists_url":"https://api.github.com/users/rainforestapp/gists{/gist_id}","starred_url":"https://api.github.com/users/rainforestapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainforestapp/subscriptions","organizations_url":"https://api.github.com/users/rainforestapp/orgs","repos_url":"https://api.github.com/users/rainforestapp/repos","events_url":"https://api.github.com/users/rainforestapp/events{/privacy}","received_events_url":"https://api.github.com/users/rainforestapp/received_events","type":"Organization","site_admin":false},"repo":{"id":11987995,"name":"rainforest-cli","full_name":"rainforestapp/rainforest-cli","owner":{"login":"rainforestapp","id":1892571,"avatar_url":"https://avatars.githubusercontent.com/u/1892571?v=3","gravatar_id":"","url":"https://api.github.com/users/rainforestapp","html_url":"https://github.com/rainforestapp","followers_url":"https://api.github.com/users/rainforestapp/followers","following_url":"https://api.github.com/users/rainforestapp/following{/other_user}","gists_url":"https://api.github.com/users/rainforestapp/gists{/gist_id}","starred_url":"https://api.github.com/users/rainforestapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainforestapp/subscriptions","organizations_url":"https://api.github.com/users/rainforestapp/orgs","repos_url":"https://api.github.com/users/rainforestapp/repos","events_url":"https://api.github.com/users/rainforestapp/events{/privacy}","received_events_url":"https://api.github.com/users/rainforestapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rainforestapp/rainforest-cli","description":"Command line interface to Rainforest","fork":false,"url":"https://api.github.com/repos/rainforestapp/rainforest-cli","forks_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/forks","keys_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/teams","hooks_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/hooks","issue_events_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/events{/number}","events_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/events","assignees_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/assignees{/user}","branches_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/branches{/branch}","tags_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/tags","blobs_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/languages","stargazers_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/stargazers","contributors_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/contributors","subscribers_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/subscribers","subscription_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/subscription","commits_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/contents/{+path}","compare_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/merges","archive_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/downloads","issues_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues{/number}","pulls_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/labels{/name}","releases_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/releases{/id}","deployments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/deployments","created_at":"2013-08-08T22:23:18Z","updated_at":"2016-06-13T23:40:55Z","pushed_at":"2016-07-05T18:37:06Z","git_url":"git://github.com/rainforestapp/rainforest-cli.git","ssh_url":"git@github.com:rainforestapp/rainforest-cli.git","clone_url":"https://github.com/rainforestapp/rainforest-cli.git","svn_url":"https://github.com/rainforestapp/rainforest-cli","homepage":"https://www.rainforestqa.com/","size":433,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":14,"forks":14,"open_issues":14,"watchers":16,"default_branch":"master"}},"base":{"label":"rainforestapp:refactor/go","ref":"refactor/go","sha":"103779aa3b84cada3644d80441890bf1ebc09193","user":{"login":"rainforestapp","id":1892571,"avatar_url":"https://avatars.githubusercontent.com/u/1892571?v=3","gravatar_id":"","url":"https://api.github.com/users/rainforestapp","html_url":"https://github.com/rainforestapp","followers_url":"https://api.github.com/users/rainforestapp/followers","following_url":"https://api.github.com/users/rainforestapp/following{/other_user}","gists_url":"https://api.github.com/users/rainforestapp/gists{/gist_id}","starred_url":"https://api.github.com/users/rainforestapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainforestapp/subscriptions","organizations_url":"https://api.github.com/users/rainforestapp/orgs","repos_url":"https://api.github.com/users/rainforestapp/repos","events_url":"https://api.github.com/users/rainforestapp/events{/privacy}","received_events_url":"https://api.github.com/users/rainforestapp/received_events","type":"Organization","site_admin":false},"repo":{"id":11987995,"name":"rainforest-cli","full_name":"rainforestapp/rainforest-cli","owner":{"login":"rainforestapp","id":1892571,"avatar_url":"https://avatars.githubusercontent.com/u/1892571?v=3","gravatar_id":"","url":"https://api.github.com/users/rainforestapp","html_url":"https://github.com/rainforestapp","followers_url":"https://api.github.com/users/rainforestapp/followers","following_url":"https://api.github.com/users/rainforestapp/following{/other_user}","gists_url":"https://api.github.com/users/rainforestapp/gists{/gist_id}","starred_url":"https://api.github.com/users/rainforestapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainforestapp/subscriptions","organizations_url":"https://api.github.com/users/rainforestapp/orgs","repos_url":"https://api.github.com/users/rainforestapp/repos","events_url":"https://api.github.com/users/rainforestapp/events{/privacy}","received_events_url":"https://api.github.com/users/rainforestapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rainforestapp/rainforest-cli","description":"Command line interface to Rainforest","fork":false,"url":"https://api.github.com/repos/rainforestapp/rainforest-cli","forks_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/forks","keys_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/teams","hooks_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/hooks","issue_events_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/events{/number}","events_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/events","assignees_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/assignees{/user}","branches_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/branches{/branch}","tags_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/tags","blobs_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/languages","stargazers_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/stargazers","contributors_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/contributors","subscribers_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/subscribers","subscription_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/subscription","commits_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/contents/{+path}","compare_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/merges","archive_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/downloads","issues_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues{/number}","pulls_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/labels{/name}","releases_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/releases{/id}","deployments_url":"https://api.github.com/repos/rainforestapp/rainforest-cli/deployments","created_at":"2013-08-08T22:23:18Z","updated_at":"2016-06-13T23:40:55Z","pushed_at":"2016-07-05T18:37:06Z","git_url":"git://github.com/rainforestapp/rainforest-cli.git","ssh_url":"git@github.com:rainforestapp/rainforest-cli.git","clone_url":"https://github.com/rainforestapp/rainforest-cli.git","svn_url":"https://github.com/rainforestapp/rainforest-cli","homepage":"https://www.rainforestqa.com/","size":433,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":14,"forks":14,"open_issues":14,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156"},"html":{"href":"https://github.com/rainforestapp/rainforest-cli/pull/156"},"issue":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/156"},"comments":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/rainforestapp/rainforest-cli/statuses/d8db495ce39aecbc50703a8e45cad4c4b799bb54"}}}}
{"actor":{"display_login":"DyerSituation"}}