{"action":"created","comment":{"url":"https://api.github.com/repos/namely/broadway/pulls/comments/56983877","id":56983877,"diff_hunk":"@@ -0,0 +1,50 @@\n+package domain\n+\n+import (\n+\t\"encoding/json\"\n+\n+\t\"github.com/namely/broadway/store\"\n+)\n+\n+type Instance struct {\n+\tPlaybookID string            `json:\"playbook_id\" binding:\"required\"`\n+\tID         string            `json:\"id\"`\n+\tCreated    string            `json:\"created\"`\n+\tVars       map[string]string `json:\"vars\"`\n+}\n+\n+func (i *Instance) JSON() (string, error) {","path":"domain/instance.go","position":16,"original_position":16,"commit_id":"1a7311c4a6648ce6e4d52de9f01bb0a66b2b3435","original_commit_id":"1a7311c4a6648ce6e4d52de9f01bb0a66b2b3435","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"exported method Instance.JSON should have comment or be unexported","created_at":"2016-03-22T13:21:18Z","updated_at":"2016-03-22T13:21:18Z","html_url":"https://github.com/namely/broadway/pull/19#discussion_r56983877","pull_request_url":"https://api.github.com/repos/namely/broadway/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/namely/broadway/pulls/comments/56983877"},"html":{"href":"https://github.com/namely/broadway/pull/19#discussion_r56983877"},"pull_request":{"href":"https://api.github.com/repos/namely/broadway/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/namely/broadway/pulls/19","id":63718113,"html_url":"https://github.com/namely/broadway/pull/19","diff_url":"https://github.com/namely/broadway/pull/19.diff","patch_url":"https://github.com/namely/broadway/pull/19.patch","issue_url":"https://api.github.com/repos/namely/broadway/issues/19","number":19,"state":"open","locked":false,"title":"Arch refactor","user":{"login":"cored","id":11719,"avatar_url":"https://avatars.githubusercontent.com/u/11719?v=3","gravatar_id":"","url":"https://api.github.com/users/cored","html_url":"https://github.com/cored","followers_url":"https://api.github.com/users/cored/followers","following_url":"https://api.github.com/users/cored/following{/other_user}","gists_url":"https://api.github.com/users/cored/gists{/gist_id}","starred_url":"https://api.github.com/users/cored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cored/subscriptions","organizations_url":"https://api.github.com/users/cored/orgs","repos_url":"https://api.github.com/users/cored/repos","events_url":"https://api.github.com/users/cored/events{/privacy}","received_events_url":"https://api.github.com/users/cored/received_events","type":"User","site_admin":false},"body":"This PR introduce some concepts to facilitate the introduction of new features to Broadway: \r\n\r\nIt introduce the notion of services so every use case for any particular feature will be map directly into one of those. Also add the notion of a repository to separate persistence logic from the the entities. I want some feedback on this ideas. ","created_at":"2016-03-22T13:21:05Z","updated_at":"2016-03-22T13:21:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fe8501882048e74559628d45ba0b88faea7a9d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/namely/broadway/pulls/19/commits","review_comments_url":"https://api.github.com/repos/namely/broadway/pulls/19/comments","review_comment_url":"https://api.github.com/repos/namely/broadway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/namely/broadway/issues/19/comments","statuses_url":"https://api.github.com/repos/namely/broadway/statuses/1a7311c4a6648ce6e4d52de9f01bb0a66b2b3435","head":{"label":"cored:arch-refactor","ref":"arch-refactor","sha":"1a7311c4a6648ce6e4d52de9f01bb0a66b2b3435","user":{"login":"cored","id":11719,"avatar_url":"https://avatars.githubusercontent.com/u/11719?v=3","gravatar_id":"","url":"https://api.github.com/users/cored","html_url":"https://github.com/cored","followers_url":"https://api.github.com/users/cored/followers","following_url":"https://api.github.com/users/cored/following{/other_user}","gists_url":"https://api.github.com/users/cored/gists{/gist_id}","starred_url":"https://api.github.com/users/cored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cored/subscriptions","organizations_url":"https://api.github.com/users/cored/orgs","repos_url":"https://api.github.com/users/cored/repos","events_url":"https://api.github.com/users/cored/events{/privacy}","received_events_url":"https://api.github.com/users/cored/received_events","type":"User","site_admin":false},"repo":{"id":53088217,"name":"broadway","full_name":"cored/broadway","owner":{"login":"cored","id":11719,"avatar_url":"https://avatars.githubusercontent.com/u/11719?v=3","gravatar_id":"","url":"https://api.github.com/users/cored","html_url":"https://github.com/cored","followers_url":"https://api.github.com/users/cored/followers","following_url":"https://api.github.com/users/cored/following{/other_user}","gists_url":"https://api.github.com/users/cored/gists{/gist_id}","starred_url":"https://api.github.com/users/cored/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cored/subscriptions","organizations_url":"https://api.github.com/users/cored/orgs","repos_url":"https://api.github.com/users/cored/repos","events_url":"https://api.github.com/users/cored/events{/privacy}","received_events_url":"https://api.github.com/users/cored/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cored/broadway","description":"Broadway ","fork":true,"url":"https://api.github.com/repos/cored/broadway","forks_url":"https://api.github.com/repos/cored/broadway/forks","keys_url":"https://api.github.com/repos/cored/broadway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cored/broadway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cored/broadway/teams","hooks_url":"https://api.github.com/repos/cored/broadway/hooks","issue_events_url":"https://api.github.com/repos/cored/broadway/issues/events{/number}","events_url":"https://api.github.com/repos/cored/broadway/events","assignees_url":"https://api.github.com/repos/cored/broadway/assignees{/user}","branches_url":"https://api.github.com/repos/cored/broadway/branches{/branch}","tags_url":"https://api.github.com/repos/cored/broadway/tags","blobs_url":"https://api.github.com/repos/cored/broadway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cored/broadway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cored/broadway/git/refs{/sha}","trees_url":"https://api.github.com/repos/cored/broadway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cored/broadway/statuses/{sha}","languages_url":"https://api.github.com/repos/cored/broadway/languages","stargazers_url":"https://api.github.com/repos/cored/broadway/stargazers","contributors_url":"https://api.github.com/repos/cored/broadway/contributors","subscribers_url":"https://api.github.com/repos/cored/broadway/subscribers","subscription_url":"https://api.github.com/repos/cored/broadway/subscription","commits_url":"https://api.github.com/repos/cored/broadway/commits{/sha}","git_commits_url":"https://api.github.com/repos/cored/broadway/git/commits{/sha}","comments_url":"https://api.github.com/repos/cored/broadway/comments{/number}","issue_comment_url":"https://api.github.com/repos/cored/broadway/issues/comments{/number}","contents_url":"https://api.github.com/repos/cored/broadway/contents/{+path}","compare_url":"https://api.github.com/repos/cored/broadway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cored/broadway/merges","archive_url":"https://api.github.com/repos/cored/broadway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cored/broadway/downloads","issues_url":"https://api.github.com/repos/cored/broadway/issues{/number}","pulls_url":"https://api.github.com/repos/cored/broadway/pulls{/number}","milestones_url":"https://api.github.com/repos/cored/broadway/milestones{/number}","notifications_url":"https://api.github.com/repos/cored/broadway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cored/broadway/labels{/name}","releases_url":"https://api.github.com/repos/cored/broadway/releases{/id}","deployments_url":"https://api.github.com/repos/cored/broadway/deployments","created_at":"2016-03-03T22:15:24Z","updated_at":"2016-03-03T22:15:25Z","pushed_at":"2016-03-22T13:18:23Z","git_url":"git://github.com/cored/broadway.git","ssh_url":"git@github.com:cored/broadway.git","clone_url":"https://github.com/cored/broadway.git","svn_url":"https://github.com/cored/broadway","homepage":null,"size":1961,"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":"namely:master","ref":"master","sha":"ad28c0a2856a1dc874476a1d4aa453caa02828a2","user":{"login":"namely","id":1004321,"avatar_url":"https://avatars.githubusercontent.com/u/1004321?v=3","gravatar_id":"","url":"https://api.github.com/users/namely","html_url":"https://github.com/namely","followers_url":"https://api.github.com/users/namely/followers","following_url":"https://api.github.com/users/namely/following{/other_user}","gists_url":"https://api.github.com/users/namely/gists{/gist_id}","starred_url":"https://api.github.com/users/namely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namely/subscriptions","organizations_url":"https://api.github.com/users/namely/orgs","repos_url":"https://api.github.com/users/namely/repos","events_url":"https://api.github.com/users/namely/events{/privacy}","received_events_url":"https://api.github.com/users/namely/received_events","type":"Organization","site_admin":false},"repo":{"id":53081805,"name":"broadway","full_name":"namely/broadway","owner":{"login":"namely","id":1004321,"avatar_url":"https://avatars.githubusercontent.com/u/1004321?v=3","gravatar_id":"","url":"https://api.github.com/users/namely","html_url":"https://github.com/namely","followers_url":"https://api.github.com/users/namely/followers","following_url":"https://api.github.com/users/namely/following{/other_user}","gists_url":"https://api.github.com/users/namely/gists{/gist_id}","starred_url":"https://api.github.com/users/namely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namely/subscriptions","organizations_url":"https://api.github.com/users/namely/orgs","repos_url":"https://api.github.com/users/namely/repos","events_url":"https://api.github.com/users/namely/events{/privacy}","received_events_url":"https://api.github.com/users/namely/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/namely/broadway","description":"Broadway ","fork":false,"url":"https://api.github.com/repos/namely/broadway","forks_url":"https://api.github.com/repos/namely/broadway/forks","keys_url":"https://api.github.com/repos/namely/broadway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namely/broadway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namely/broadway/teams","hooks_url":"https://api.github.com/repos/namely/broadway/hooks","issue_events_url":"https://api.github.com/repos/namely/broadway/issues/events{/number}","events_url":"https://api.github.com/repos/namely/broadway/events","assignees_url":"https://api.github.com/repos/namely/broadway/assignees{/user}","branches_url":"https://api.github.com/repos/namely/broadway/branches{/branch}","tags_url":"https://api.github.com/repos/namely/broadway/tags","blobs_url":"https://api.github.com/repos/namely/broadway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namely/broadway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namely/broadway/git/refs{/sha}","trees_url":"https://api.github.com/repos/namely/broadway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namely/broadway/statuses/{sha}","languages_url":"https://api.github.com/repos/namely/broadway/languages","stargazers_url":"https://api.github.com/repos/namely/broadway/stargazers","contributors_url":"https://api.github.com/repos/namely/broadway/contributors","subscribers_url":"https://api.github.com/repos/namely/broadway/subscribers","subscription_url":"https://api.github.com/repos/namely/broadway/subscription","commits_url":"https://api.github.com/repos/namely/broadway/commits{/sha}","git_commits_url":"https://api.github.com/repos/namely/broadway/git/commits{/sha}","comments_url":"https://api.github.com/repos/namely/broadway/comments{/number}","issue_comment_url":"https://api.github.com/repos/namely/broadway/issues/comments{/number}","contents_url":"https://api.github.com/repos/namely/broadway/contents/{+path}","compare_url":"https://api.github.com/repos/namely/broadway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namely/broadway/merges","archive_url":"https://api.github.com/repos/namely/broadway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namely/broadway/downloads","issues_url":"https://api.github.com/repos/namely/broadway/issues{/number}","pulls_url":"https://api.github.com/repos/namely/broadway/pulls{/number}","milestones_url":"https://api.github.com/repos/namely/broadway/milestones{/number}","notifications_url":"https://api.github.com/repos/namely/broadway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namely/broadway/labels{/name}","releases_url":"https://api.github.com/repos/namely/broadway/releases{/id}","deployments_url":"https://api.github.com/repos/namely/broadway/deployments","created_at":"2016-03-03T20:42:56Z","updated_at":"2016-03-03T21:59:08Z","pushed_at":"2016-03-22T13:21:06Z","git_url":"git://github.com/namely/broadway.git","ssh_url":"git@github.com:namely/broadway.git","clone_url":"https://github.com/namely/broadway.git","svn_url":"https://github.com/namely/broadway","homepage":null,"size":1962,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/namely/broadway/pulls/19"},"html":{"href":"https://github.com/namely/broadway/pull/19"},"issue":{"href":"https://api.github.com/repos/namely/broadway/issues/19"},"comments":{"href":"https://api.github.com/repos/namely/broadway/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/namely/broadway/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/namely/broadway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/namely/broadway/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/namely/broadway/statuses/1a7311c4a6648ce6e4d52de9f01bb0a66b2b3435"}}}}