{"action":"created","comment":{"url":"https://api.github.com/repos/mesg-foundation/core/pulls/comments/212385888","pull_request_review_id":148999154,"id":212385888,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjM4NTg4OA==","diff_hunk":"@@ -0,0 +1,25 @@\n+package xos\n+\n+import \"os\"\n+\n+// Remove removes all given named file or directory.\n+func Remove(names ...string) error {\n+\tvar err error\n+\tfor _, name := range names {\n+\t\tif err1 := os.Remove(name); err == nil {\n+\t\t\terr = err1\n+\t\t}\n+\t}\n+\treturn err\n+}\n+\n+// RemoveAll removes all given paht and any children it contains.","path":"x/xos/file.go","position":16,"original_position":16,"commit_id":"0ec576da244f4efe5577a4f6b002a75003778f1b","original_commit_id":"0ec576da244f4efe5577a4f6b002a75003778f1b","user":{"login":"ilgooz","id":6023117,"node_id":"MDQ6VXNlcjYwMjMxMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6023117?v=4","gravatar_id":"","url":"https://api.github.com/users/ilgooz","html_url":"https://github.com/ilgooz","followers_url":"https://api.github.com/users/ilgooz/followers","following_url":"https://api.github.com/users/ilgooz/following{/other_user}","gists_url":"https://api.github.com/users/ilgooz/gists{/gist_id}","starred_url":"https://api.github.com/users/ilgooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilgooz/subscriptions","organizations_url":"https://api.github.com/users/ilgooz/orgs","repos_url":"https://api.github.com/users/ilgooz/repos","events_url":"https://api.github.com/users/ilgooz/events{/privacy}","received_events_url":"https://api.github.com/users/ilgooz/received_events","type":"User","site_admin":false},"body":"paht to path","created_at":"2018-08-23T17:06:04Z","updated_at":"2018-08-23T17:09:06Z","html_url":"https://github.com/mesg-foundation/core/pull/386#discussion_r212385888","pull_request_url":"https://api.github.com/repos/mesg-foundation/core/pulls/386","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/comments/212385888"},"html":{"href":"https://github.com/mesg-foundation/core/pull/386#discussion_r212385888"},"pull_request":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/386"}}},"pull_request":{"url":"https://api.github.com/repos/mesg-foundation/core/pulls/386","id":210174661,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTc0NjYx","html_url":"https://github.com/mesg-foundation/core/pull/386","diff_url":"https://github.com/mesg-foundation/core/pull/386.diff","patch_url":"https://github.com/mesg-foundation/core/pull/386.patch","issue_url":"https://api.github.com/repos/mesg-foundation/core/issues/386","number":386,"state":"open","locked":false,"title":"Refactor-x, closes #373","user":{"login":"krhubert","id":1803915,"node_id":"MDQ6VXNlcjE4MDM5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1803915?v=4","gravatar_id":"","url":"https://api.github.com/users/krhubert","html_url":"https://github.com/krhubert","followers_url":"https://api.github.com/users/krhubert/followers","following_url":"https://api.github.com/users/krhubert/following{/other_user}","gists_url":"https://api.github.com/users/krhubert/gists{/gist_id}","starred_url":"https://api.github.com/users/krhubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krhubert/subscriptions","organizations_url":"https://api.github.com/users/krhubert/orgs","repos_url":"https://api.github.com/users/krhubert/repos","events_url":"https://api.github.com/users/krhubert/events{/privacy}","received_events_url":"https://api.github.com/users/krhubert/received_events","type":"User","site_admin":false},"body":"https://github.com/mesg-foundation/core/issues/373","created_at":"2018-08-22T15:29:52Z","updated_at":"2018-08-23T17:09:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"826636df636795c1b5c21833d5c8508677b5fb01","assignee":null,"assignees":[],"requested_reviewers":[{"login":"antho1404","id":1783126,"node_id":"MDQ6VXNlcjE3ODMxMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1783126?v=4","gravatar_id":"","url":"https://api.github.com/users/antho1404","html_url":"https://github.com/antho1404","followers_url":"https://api.github.com/users/antho1404/followers","following_url":"https://api.github.com/users/antho1404/following{/other_user}","gists_url":"https://api.github.com/users/antho1404/gists{/gist_id}","starred_url":"https://api.github.com/users/antho1404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antho1404/subscriptions","organizations_url":"https://api.github.com/users/antho1404/orgs","repos_url":"https://api.github.com/users/antho1404/repos","events_url":"https://api.github.com/users/antho1404/events{/privacy}","received_events_url":"https://api.github.com/users/antho1404/received_events","type":"User","site_admin":false},{"login":"NicolasMahe","id":5823445,"node_id":"MDQ6VXNlcjU4MjM0NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/5823445?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolasMahe","html_url":"https://github.com/NicolasMahe","followers_url":"https://api.github.com/users/NicolasMahe/followers","following_url":"https://api.github.com/users/NicolasMahe/following{/other_user}","gists_url":"https://api.github.com/users/NicolasMahe/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasMahe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasMahe/subscriptions","organizations_url":"https://api.github.com/users/NicolasMahe/orgs","repos_url":"https://api.github.com/users/NicolasMahe/repos","events_url":"https://api.github.com/users/NicolasMahe/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasMahe/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mesg-foundation/core/pulls/386/commits","review_comments_url":"https://api.github.com/repos/mesg-foundation/core/pulls/386/comments","review_comment_url":"https://api.github.com/repos/mesg-foundation/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesg-foundation/core/issues/386/comments","statuses_url":"https://api.github.com/repos/mesg-foundation/core/statuses/0ec576da244f4efe5577a4f6b002a75003778f1b","head":{"label":"mesg-foundation:refactor-x","ref":"refactor-x","sha":"0ec576da244f4efe5577a4f6b002a75003778f1b","user":{"login":"mesg-foundation","id":34158802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTU4ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/34158802?v=4","gravatar_id":"","url":"https://api.github.com/users/mesg-foundation","html_url":"https://github.com/mesg-foundation","followers_url":"https://api.github.com/users/mesg-foundation/followers","following_url":"https://api.github.com/users/mesg-foundation/following{/other_user}","gists_url":"https://api.github.com/users/mesg-foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/mesg-foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesg-foundation/subscriptions","organizations_url":"https://api.github.com/users/mesg-foundation/orgs","repos_url":"https://api.github.com/users/mesg-foundation/repos","events_url":"https://api.github.com/users/mesg-foundation/events{/privacy}","received_events_url":"https://api.github.com/users/mesg-foundation/received_events","type":"Organization","site_admin":false},"repo":{"id":121732267,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE3MzIyNjc=","name":"core","full_name":"mesg-foundation/core","owner":{"login":"mesg-foundation","id":34158802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTU4ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/34158802?v=4","gravatar_id":"","url":"https://api.github.com/users/mesg-foundation","html_url":"https://github.com/mesg-foundation","followers_url":"https://api.github.com/users/mesg-foundation/followers","following_url":"https://api.github.com/users/mesg-foundation/following{/other_user}","gists_url":"https://api.github.com/users/mesg-foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/mesg-foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesg-foundation/subscriptions","organizations_url":"https://api.github.com/users/mesg-foundation/orgs","repos_url":"https://api.github.com/users/mesg-foundation/repos","events_url":"https://api.github.com/users/mesg-foundation/events{/privacy}","received_events_url":"https://api.github.com/users/mesg-foundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesg-foundation/core","description":"MESG is an open-source decentralized infrastructure which makes all technologies, including blockchains, interoperable. It’s a building platform for developers.","fork":false,"url":"https://api.github.com/repos/mesg-foundation/core","forks_url":"https://api.github.com/repos/mesg-foundation/core/forks","keys_url":"https://api.github.com/repos/mesg-foundation/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesg-foundation/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesg-foundation/core/teams","hooks_url":"https://api.github.com/repos/mesg-foundation/core/hooks","issue_events_url":"https://api.github.com/repos/mesg-foundation/core/issues/events{/number}","events_url":"https://api.github.com/repos/mesg-foundation/core/events","assignees_url":"https://api.github.com/repos/mesg-foundation/core/assignees{/user}","branches_url":"https://api.github.com/repos/mesg-foundation/core/branches{/branch}","tags_url":"https://api.github.com/repos/mesg-foundation/core/tags","blobs_url":"https://api.github.com/repos/mesg-foundation/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesg-foundation/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesg-foundation/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesg-foundation/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesg-foundation/core/statuses/{sha}","languages_url":"https://api.github.com/repos/mesg-foundation/core/languages","stargazers_url":"https://api.github.com/repos/mesg-foundation/core/stargazers","contributors_url":"https://api.github.com/repos/mesg-foundation/core/contributors","subscribers_url":"https://api.github.com/repos/mesg-foundation/core/subscribers","subscription_url":"https://api.github.com/repos/mesg-foundation/core/subscription","commits_url":"https://api.github.com/repos/mesg-foundation/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesg-foundation/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesg-foundation/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesg-foundation/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesg-foundation/core/contents/{+path}","compare_url":"https://api.github.com/repos/mesg-foundation/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesg-foundation/core/merges","archive_url":"https://api.github.com/repos/mesg-foundation/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesg-foundation/core/downloads","issues_url":"https://api.github.com/repos/mesg-foundation/core/issues{/number}","pulls_url":"https://api.github.com/repos/mesg-foundation/core/pulls{/number}","milestones_url":"https://api.github.com/repos/mesg-foundation/core/milestones{/number}","notifications_url":"https://api.github.com/repos/mesg-foundation/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesg-foundation/core/labels{/name}","releases_url":"https://api.github.com/repos/mesg-foundation/core/releases{/id}","deployments_url":"https://api.github.com/repos/mesg-foundation/core/deployments","created_at":"2018-02-16T09:13:42Z","updated_at":"2018-08-23T09:56:31Z","pushed_at":"2018-08-23T17:00:54Z","git_url":"git://github.com/mesg-foundation/core.git","ssh_url":"git@github.com:mesg-foundation/core.git","clone_url":"https://github.com/mesg-foundation/core.git","svn_url":"https://github.com/mesg-foundation/core","homepage":"https://mesg.com/","size":7008,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":60,"watchers":34,"default_branch":"dev"}},"base":{"label":"mesg-foundation:dev","ref":"dev","sha":"76a621c7a4cb6220303fc6b6df82780453746fe5","user":{"login":"mesg-foundation","id":34158802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTU4ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/34158802?v=4","gravatar_id":"","url":"https://api.github.com/users/mesg-foundation","html_url":"https://github.com/mesg-foundation","followers_url":"https://api.github.com/users/mesg-foundation/followers","following_url":"https://api.github.com/users/mesg-foundation/following{/other_user}","gists_url":"https://api.github.com/users/mesg-foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/mesg-foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesg-foundation/subscriptions","organizations_url":"https://api.github.com/users/mesg-foundation/orgs","repos_url":"https://api.github.com/users/mesg-foundation/repos","events_url":"https://api.github.com/users/mesg-foundation/events{/privacy}","received_events_url":"https://api.github.com/users/mesg-foundation/received_events","type":"Organization","site_admin":false},"repo":{"id":121732267,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE3MzIyNjc=","name":"core","full_name":"mesg-foundation/core","owner":{"login":"mesg-foundation","id":34158802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTU4ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/34158802?v=4","gravatar_id":"","url":"https://api.github.com/users/mesg-foundation","html_url":"https://github.com/mesg-foundation","followers_url":"https://api.github.com/users/mesg-foundation/followers","following_url":"https://api.github.com/users/mesg-foundation/following{/other_user}","gists_url":"https://api.github.com/users/mesg-foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/mesg-foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesg-foundation/subscriptions","organizations_url":"https://api.github.com/users/mesg-foundation/orgs","repos_url":"https://api.github.com/users/mesg-foundation/repos","events_url":"https://api.github.com/users/mesg-foundation/events{/privacy}","received_events_url":"https://api.github.com/users/mesg-foundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesg-foundation/core","description":"MESG is an open-source decentralized infrastructure which makes all technologies, including blockchains, interoperable. It’s a building platform for developers.","fork":false,"url":"https://api.github.com/repos/mesg-foundation/core","forks_url":"https://api.github.com/repos/mesg-foundation/core/forks","keys_url":"https://api.github.com/repos/mesg-foundation/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesg-foundation/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesg-foundation/core/teams","hooks_url":"https://api.github.com/repos/mesg-foundation/core/hooks","issue_events_url":"https://api.github.com/repos/mesg-foundation/core/issues/events{/number}","events_url":"https://api.github.com/repos/mesg-foundation/core/events","assignees_url":"https://api.github.com/repos/mesg-foundation/core/assignees{/user}","branches_url":"https://api.github.com/repos/mesg-foundation/core/branches{/branch}","tags_url":"https://api.github.com/repos/mesg-foundation/core/tags","blobs_url":"https://api.github.com/repos/mesg-foundation/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesg-foundation/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesg-foundation/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesg-foundation/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesg-foundation/core/statuses/{sha}","languages_url":"https://api.github.com/repos/mesg-foundation/core/languages","stargazers_url":"https://api.github.com/repos/mesg-foundation/core/stargazers","contributors_url":"https://api.github.com/repos/mesg-foundation/core/contributors","subscribers_url":"https://api.github.com/repos/mesg-foundation/core/subscribers","subscription_url":"https://api.github.com/repos/mesg-foundation/core/subscription","commits_url":"https://api.github.com/repos/mesg-foundation/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesg-foundation/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesg-foundation/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesg-foundation/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesg-foundation/core/contents/{+path}","compare_url":"https://api.github.com/repos/mesg-foundation/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesg-foundation/core/merges","archive_url":"https://api.github.com/repos/mesg-foundation/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesg-foundation/core/downloads","issues_url":"https://api.github.com/repos/mesg-foundation/core/issues{/number}","pulls_url":"https://api.github.com/repos/mesg-foundation/core/pulls{/number}","milestones_url":"https://api.github.com/repos/mesg-foundation/core/milestones{/number}","notifications_url":"https://api.github.com/repos/mesg-foundation/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesg-foundation/core/labels{/name}","releases_url":"https://api.github.com/repos/mesg-foundation/core/releases{/id}","deployments_url":"https://api.github.com/repos/mesg-foundation/core/deployments","created_at":"2018-02-16T09:13:42Z","updated_at":"2018-08-23T09:56:31Z","pushed_at":"2018-08-23T17:00:54Z","git_url":"git://github.com/mesg-foundation/core.git","ssh_url":"git@github.com:mesg-foundation/core.git","clone_url":"https://github.com/mesg-foundation/core.git","svn_url":"https://github.com/mesg-foundation/core","homepage":"https://mesg.com/","size":7008,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":60,"watchers":34,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/386"},"html":{"href":"https://github.com/mesg-foundation/core/pull/386"},"issue":{"href":"https://api.github.com/repos/mesg-foundation/core/issues/386"},"comments":{"href":"https://api.github.com/repos/mesg-foundation/core/issues/386/comments"},"review_comments":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/386/comments"},"review_comment":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesg-foundation/core/pulls/386/commits"},"statuses":{"href":"https://api.github.com/repos/mesg-foundation/core/statuses/0ec576da244f4efe5577a4f6b002a75003778f1b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ilgooz"}}