{"action":"created","comment":{"url":"https://api.github.com/repos/moxar/riley/pulls/comments/172192337","pull_request_review_id":101166391,"id":172192337,"diff_hunk":"@@ -0,0 +1,55 @@\n+package main\n+\n+import (\n+\t\"encoding/json\"\n+    \"errors\"\n+\t\"io/ioutil\"\n+)\n+\n+// creation of config type\n+type Config struct {\n+\tTeamsLocation string\n+\tDudesLocation string\n+\tATeam string\n+\tBTeam string\n+}\n+// implementation function NewConfig to get the informations","path":"cmd/fight/config.go","position":16,"original_position":16,"commit_id":"40c1068698ac29fcdd91f200edace65e92fe70a2","original_commit_id":"40c1068698ac29fcdd91f200edace65e92fe70a2","user":{"login":"moxar","id":7067102,"avatar_url":"https://avatars3.githubusercontent.com/u/7067102?v=4","gravatar_id":"","url":"https://api.github.com/users/moxar","html_url":"https://github.com/moxar","followers_url":"https://api.github.com/users/moxar/followers","following_url":"https://api.github.com/users/moxar/following{/other_user}","gists_url":"https://api.github.com/users/moxar/gists{/gist_id}","starred_url":"https://api.github.com/users/moxar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxar/subscriptions","organizations_url":"https://api.github.com/users/moxar/orgs","repos_url":"https://api.github.com/users/moxar/repos","events_url":"https://api.github.com/users/moxar/events{/privacy}","received_events_url":"https://api.github.com/users/moxar/received_events","type":"User","site_admin":false},"body":"```go\r\n// NewConfig parses the configuration loated in filepath and returns an error if the config is invalid.\r\n```","created_at":"2018-03-05T13:52:24Z","updated_at":"2018-03-05T13:52:24Z","html_url":"https://github.com/moxar/riley/pull/3#discussion_r172192337","pull_request_url":"https://api.github.com/repos/moxar/riley/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/moxar/riley/pulls/comments/172192337"},"html":{"href":"https://github.com/moxar/riley/pull/3#discussion_r172192337"},"pull_request":{"href":"https://api.github.com/repos/moxar/riley/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/moxar/riley/pulls/3","id":172318653,"html_url":"https://github.com/moxar/riley/pull/3","diff_url":"https://github.com/moxar/riley/pull/3.diff","patch_url":"https://github.com/moxar/riley/pull/3.patch","issue_url":"https://api.github.com/repos/moxar/riley/issues/3","number":3,"state":"open","locked":false,"title":"step 3 configuration building","user":{"login":"mrcsptr","id":36894757,"avatar_url":"https://avatars3.githubusercontent.com/u/36894757?v=4","gravatar_id":"","url":"https://api.github.com/users/mrcsptr","html_url":"https://github.com/mrcsptr","followers_url":"https://api.github.com/users/mrcsptr/followers","following_url":"https://api.github.com/users/mrcsptr/following{/other_user}","gists_url":"https://api.github.com/users/mrcsptr/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcsptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcsptr/subscriptions","organizations_url":"https://api.github.com/users/mrcsptr/orgs","repos_url":"https://api.github.com/users/mrcsptr/repos","events_url":"https://api.github.com/users/mrcsptr/events{/privacy}","received_events_url":"https://api.github.com/users/mrcsptr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-01T18:38:19Z","updated_at":"2018-03-05T13:52:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6ac0fe1b21a1ace1bfc9f896a4bb37f19426db0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/moxar/riley/pulls/3/commits","review_comments_url":"https://api.github.com/repos/moxar/riley/pulls/3/comments","review_comment_url":"https://api.github.com/repos/moxar/riley/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moxar/riley/issues/3/comments","statuses_url":"https://api.github.com/repos/moxar/riley/statuses/40c1068698ac29fcdd91f200edace65e92fe70a2","head":{"label":"mrcsptr:master","ref":"master","sha":"40c1068698ac29fcdd91f200edace65e92fe70a2","user":{"login":"mrcsptr","id":36894757,"avatar_url":"https://avatars3.githubusercontent.com/u/36894757?v=4","gravatar_id":"","url":"https://api.github.com/users/mrcsptr","html_url":"https://github.com/mrcsptr","followers_url":"https://api.github.com/users/mrcsptr/followers","following_url":"https://api.github.com/users/mrcsptr/following{/other_user}","gists_url":"https://api.github.com/users/mrcsptr/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcsptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcsptr/subscriptions","organizations_url":"https://api.github.com/users/mrcsptr/orgs","repos_url":"https://api.github.com/users/mrcsptr/repos","events_url":"https://api.github.com/users/mrcsptr/events{/privacy}","received_events_url":"https://api.github.com/users/mrcsptr/received_events","type":"User","site_admin":false},"repo":{"id":123166562,"name":"riley","full_name":"mrcsptr/riley","owner":{"login":"mrcsptr","id":36894757,"avatar_url":"https://avatars3.githubusercontent.com/u/36894757?v=4","gravatar_id":"","url":"https://api.github.com/users/mrcsptr","html_url":"https://github.com/mrcsptr","followers_url":"https://api.github.com/users/mrcsptr/followers","following_url":"https://api.github.com/users/mrcsptr/following{/other_user}","gists_url":"https://api.github.com/users/mrcsptr/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcsptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcsptr/subscriptions","organizations_url":"https://api.github.com/users/mrcsptr/orgs","repos_url":"https://api.github.com/users/mrcsptr/repos","events_url":"https://api.github.com/users/mrcsptr/events{/privacy}","received_events_url":"https://api.github.com/users/mrcsptr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrcsptr/riley","description":"Golang training project","fork":true,"url":"https://api.github.com/repos/mrcsptr/riley","forks_url":"https://api.github.com/repos/mrcsptr/riley/forks","keys_url":"https://api.github.com/repos/mrcsptr/riley/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrcsptr/riley/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrcsptr/riley/teams","hooks_url":"https://api.github.com/repos/mrcsptr/riley/hooks","issue_events_url":"https://api.github.com/repos/mrcsptr/riley/issues/events{/number}","events_url":"https://api.github.com/repos/mrcsptr/riley/events","assignees_url":"https://api.github.com/repos/mrcsptr/riley/assignees{/user}","branches_url":"https://api.github.com/repos/mrcsptr/riley/branches{/branch}","tags_url":"https://api.github.com/repos/mrcsptr/riley/tags","blobs_url":"https://api.github.com/repos/mrcsptr/riley/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrcsptr/riley/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrcsptr/riley/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrcsptr/riley/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrcsptr/riley/statuses/{sha}","languages_url":"https://api.github.com/repos/mrcsptr/riley/languages","stargazers_url":"https://api.github.com/repos/mrcsptr/riley/stargazers","contributors_url":"https://api.github.com/repos/mrcsptr/riley/contributors","subscribers_url":"https://api.github.com/repos/mrcsptr/riley/subscribers","subscription_url":"https://api.github.com/repos/mrcsptr/riley/subscription","commits_url":"https://api.github.com/repos/mrcsptr/riley/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrcsptr/riley/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrcsptr/riley/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrcsptr/riley/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrcsptr/riley/contents/{+path}","compare_url":"https://api.github.com/repos/mrcsptr/riley/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrcsptr/riley/merges","archive_url":"https://api.github.com/repos/mrcsptr/riley/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrcsptr/riley/downloads","issues_url":"https://api.github.com/repos/mrcsptr/riley/issues{/number}","pulls_url":"https://api.github.com/repos/mrcsptr/riley/pulls{/number}","milestones_url":"https://api.github.com/repos/mrcsptr/riley/milestones{/number}","notifications_url":"https://api.github.com/repos/mrcsptr/riley/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrcsptr/riley/labels{/name}","releases_url":"https://api.github.com/repos/mrcsptr/riley/releases{/id}","deployments_url":"https://api.github.com/repos/mrcsptr/riley/deployments","created_at":"2018-02-27T17:50:45Z","updated_at":"2018-02-28T10:33:54Z","pushed_at":"2018-03-05T13:47:08Z","git_url":"git://github.com/mrcsptr/riley.git","ssh_url":"git@github.com:mrcsptr/riley.git","clone_url":"https://github.com/mrcsptr/riley.git","svn_url":"https://github.com/mrcsptr/riley","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moxar:master","ref":"master","sha":"c68a69fb0bdbca560c67be37f25b358b3ff75c2b","user":{"login":"moxar","id":7067102,"avatar_url":"https://avatars3.githubusercontent.com/u/7067102?v=4","gravatar_id":"","url":"https://api.github.com/users/moxar","html_url":"https://github.com/moxar","followers_url":"https://api.github.com/users/moxar/followers","following_url":"https://api.github.com/users/moxar/following{/other_user}","gists_url":"https://api.github.com/users/moxar/gists{/gist_id}","starred_url":"https://api.github.com/users/moxar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxar/subscriptions","organizations_url":"https://api.github.com/users/moxar/orgs","repos_url":"https://api.github.com/users/moxar/repos","events_url":"https://api.github.com/users/moxar/events{/privacy}","received_events_url":"https://api.github.com/users/moxar/received_events","type":"User","site_admin":false},"repo":{"id":123157832,"name":"riley","full_name":"moxar/riley","owner":{"login":"moxar","id":7067102,"avatar_url":"https://avatars3.githubusercontent.com/u/7067102?v=4","gravatar_id":"","url":"https://api.github.com/users/moxar","html_url":"https://github.com/moxar","followers_url":"https://api.github.com/users/moxar/followers","following_url":"https://api.github.com/users/moxar/following{/other_user}","gists_url":"https://api.github.com/users/moxar/gists{/gist_id}","starred_url":"https://api.github.com/users/moxar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxar/subscriptions","organizations_url":"https://api.github.com/users/moxar/orgs","repos_url":"https://api.github.com/users/moxar/repos","events_url":"https://api.github.com/users/moxar/events{/privacy}","received_events_url":"https://api.github.com/users/moxar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moxar/riley","description":"Golang training project","fork":false,"url":"https://api.github.com/repos/moxar/riley","forks_url":"https://api.github.com/repos/moxar/riley/forks","keys_url":"https://api.github.com/repos/moxar/riley/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moxar/riley/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moxar/riley/teams","hooks_url":"https://api.github.com/repos/moxar/riley/hooks","issue_events_url":"https://api.github.com/repos/moxar/riley/issues/events{/number}","events_url":"https://api.github.com/repos/moxar/riley/events","assignees_url":"https://api.github.com/repos/moxar/riley/assignees{/user}","branches_url":"https://api.github.com/repos/moxar/riley/branches{/branch}","tags_url":"https://api.github.com/repos/moxar/riley/tags","blobs_url":"https://api.github.com/repos/moxar/riley/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moxar/riley/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moxar/riley/git/refs{/sha}","trees_url":"https://api.github.com/repos/moxar/riley/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moxar/riley/statuses/{sha}","languages_url":"https://api.github.com/repos/moxar/riley/languages","stargazers_url":"https://api.github.com/repos/moxar/riley/stargazers","contributors_url":"https://api.github.com/repos/moxar/riley/contributors","subscribers_url":"https://api.github.com/repos/moxar/riley/subscribers","subscription_url":"https://api.github.com/repos/moxar/riley/subscription","commits_url":"https://api.github.com/repos/moxar/riley/commits{/sha}","git_commits_url":"https://api.github.com/repos/moxar/riley/git/commits{/sha}","comments_url":"https://api.github.com/repos/moxar/riley/comments{/number}","issue_comment_url":"https://api.github.com/repos/moxar/riley/issues/comments{/number}","contents_url":"https://api.github.com/repos/moxar/riley/contents/{+path}","compare_url":"https://api.github.com/repos/moxar/riley/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moxar/riley/merges","archive_url":"https://api.github.com/repos/moxar/riley/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moxar/riley/downloads","issues_url":"https://api.github.com/repos/moxar/riley/issues{/number}","pulls_url":"https://api.github.com/repos/moxar/riley/pulls{/number}","milestones_url":"https://api.github.com/repos/moxar/riley/milestones{/number}","notifications_url":"https://api.github.com/repos/moxar/riley/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moxar/riley/labels{/name}","releases_url":"https://api.github.com/repos/moxar/riley/releases{/id}","deployments_url":"https://api.github.com/repos/moxar/riley/deployments","created_at":"2018-02-27T16:37:48Z","updated_at":"2018-02-28T10:44:40Z","pushed_at":"2018-03-05T13:47:09Z","git_url":"git://github.com/moxar/riley.git","ssh_url":"git@github.com:moxar/riley.git","clone_url":"https://github.com/moxar/riley.git","svn_url":"https://github.com/moxar/riley","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moxar/riley/pulls/3"},"html":{"href":"https://github.com/moxar/riley/pull/3"},"issue":{"href":"https://api.github.com/repos/moxar/riley/issues/3"},"comments":{"href":"https://api.github.com/repos/moxar/riley/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/moxar/riley/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/moxar/riley/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moxar/riley/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/moxar/riley/statuses/40c1068698ac29fcdd91f200edace65e92fe70a2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"moxar"}}