{"action":"created","comment":{"url":"https://api.github.com/repos/Storj/go-libstorj/pulls/comments/178545281","pull_request_review_id":108616961,"id":178545281,"diff_hunk":"@@ -0,0 +1,64 @@\n+/*\n+ * Copyright (C) 2018 Storj Labs Inc.\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Lesser General Public License as\n+ * published by the Free Software Foundation, either version 3 of the\n+ * License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+package main\n+\n+import (\n+\t\"flag\"\n+\t\"fmt\"\n+\t\"os\"\n+\n+\t\"storj.io/storj\"","path":"cli/cli.go","position":24,"original_position":24,"commit_id":"d353f3866ba3c437a5a71ef955902982d13e474a","original_commit_id":"d353f3866ba3c437a5a71ef955902982d13e474a","user":{"login":"kaloyan-raev","id":468091,"avatar_url":"https://avatars2.githubusercontent.com/u/468091?v=4","gravatar_id":"","url":"https://api.github.com/users/kaloyan-raev","html_url":"https://github.com/kaloyan-raev","followers_url":"https://api.github.com/users/kaloyan-raev/followers","following_url":"https://api.github.com/users/kaloyan-raev/following{/other_user}","gists_url":"https://api.github.com/users/kaloyan-raev/gists{/gist_id}","starred_url":"https://api.github.com/users/kaloyan-raev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaloyan-raev/subscriptions","organizations_url":"https://api.github.com/users/kaloyan-raev/orgs","repos_url":"https://api.github.com/users/kaloyan-raev/repos","events_url":"https://api.github.com/users/kaloyan-raev/events{/privacy}","received_events_url":"https://api.github.com/users/kaloyan-raev/received_events","type":"User","site_admin":false},"body":"OK. I'll avoid vanity and stick to your initial suggestion:\r\n```go\r\nstorj \"github.com/Storj/go-libstorj\"\r\n```\r\nSo, this will be the way for clients to import the library. Is there are way for the cli to import the library in some \"relative\" way, so I don't need to create symlink to build successfully?","created_at":"2018-04-02T13:39:41Z","updated_at":"2018-04-02T13:39:41Z","html_url":"https://github.com/Storj/go-libstorj/pull/2#discussion_r178545281","pull_request_url":"https://api.github.com/repos/Storj/go-libstorj/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/comments/178545281"},"html":{"href":"https://github.com/Storj/go-libstorj/pull/2#discussion_r178545281"},"pull_request":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/2"}},"in_reply_to_id":178539444},"pull_request":{"url":"https://api.github.com/repos/Storj/go-libstorj/pulls/2","id":178807131,"html_url":"https://github.com/Storj/go-libstorj/pull/2","diff_url":"https://github.com/Storj/go-libstorj/pull/2.diff","patch_url":"https://github.com/Storj/go-libstorj/pull/2.patch","issue_url":"https://api.github.com/repos/Storj/go-libstorj/issues/2","number":2,"state":"open","locked":false,"title":"GetInfo() function","user":{"login":"kaloyan-raev","id":468091,"avatar_url":"https://avatars2.githubusercontent.com/u/468091?v=4","gravatar_id":"","url":"https://api.github.com/users/kaloyan-raev","html_url":"https://github.com/kaloyan-raev","followers_url":"https://api.github.com/users/kaloyan-raev/followers","following_url":"https://api.github.com/users/kaloyan-raev/following{/other_user}","gists_url":"https://api.github.com/users/kaloyan-raev/gists{/gist_id}","starred_url":"https://api.github.com/users/kaloyan-raev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaloyan-raev/subscriptions","organizations_url":"https://api.github.com/users/kaloyan-raev/orgs","repos_url":"https://api.github.com/users/kaloyan-raev/repos","events_url":"https://api.github.com/users/kaloyan-raev/events{/privacy}","received_events_url":"https://api.github.com/users/kaloyan-raev/received_events","type":"User","site_admin":false},"body":"WIP of the first step for implementing Storj client in pure Go.","created_at":"2018-04-02T09:38:04Z","updated_at":"2018-04-02T13:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dca2b4f5315e89cff9a28dbcbfa7b1b63106dca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Storj/go-libstorj/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Storj/go-libstorj/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Storj/go-libstorj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Storj/go-libstorj/issues/2/comments","statuses_url":"https://api.github.com/repos/Storj/go-libstorj/statuses/d353f3866ba3c437a5a71ef955902982d13e474a","head":{"label":"kaloyan-raev:get-info","ref":"get-info","sha":"d353f3866ba3c437a5a71ef955902982d13e474a","user":{"login":"kaloyan-raev","id":468091,"avatar_url":"https://avatars2.githubusercontent.com/u/468091?v=4","gravatar_id":"","url":"https://api.github.com/users/kaloyan-raev","html_url":"https://github.com/kaloyan-raev","followers_url":"https://api.github.com/users/kaloyan-raev/followers","following_url":"https://api.github.com/users/kaloyan-raev/following{/other_user}","gists_url":"https://api.github.com/users/kaloyan-raev/gists{/gist_id}","starred_url":"https://api.github.com/users/kaloyan-raev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaloyan-raev/subscriptions","organizations_url":"https://api.github.com/users/kaloyan-raev/orgs","repos_url":"https://api.github.com/users/kaloyan-raev/repos","events_url":"https://api.github.com/users/kaloyan-raev/events{/privacy}","received_events_url":"https://api.github.com/users/kaloyan-raev/received_events","type":"User","site_admin":false},"repo":{"id":127712107,"name":"go-libstorj","full_name":"kaloyan-raev/go-libstorj","owner":{"login":"kaloyan-raev","id":468091,"avatar_url":"https://avatars2.githubusercontent.com/u/468091?v=4","gravatar_id":"","url":"https://api.github.com/users/kaloyan-raev","html_url":"https://github.com/kaloyan-raev","followers_url":"https://api.github.com/users/kaloyan-raev/followers","following_url":"https://api.github.com/users/kaloyan-raev/following{/other_user}","gists_url":"https://api.github.com/users/kaloyan-raev/gists{/gist_id}","starred_url":"https://api.github.com/users/kaloyan-raev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaloyan-raev/subscriptions","organizations_url":"https://api.github.com/users/kaloyan-raev/orgs","repos_url":"https://api.github.com/users/kaloyan-raev/repos","events_url":"https://api.github.com/users/kaloyan-raev/events{/privacy}","received_events_url":"https://api.github.com/users/kaloyan-raev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaloyan-raev/go-libstorj","description":"Go bindings for libstorj","fork":true,"url":"https://api.github.com/repos/kaloyan-raev/go-libstorj","forks_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/forks","keys_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/teams","hooks_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/hooks","issue_events_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/issues/events{/number}","events_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/events","assignees_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/assignees{/user}","branches_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/branches{/branch}","tags_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/tags","blobs_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/statuses/{sha}","languages_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/languages","stargazers_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/stargazers","contributors_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/contributors","subscribers_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/subscribers","subscription_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/subscription","commits_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/contents/{+path}","compare_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/merges","archive_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/downloads","issues_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/issues{/number}","pulls_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/pulls{/number}","milestones_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/milestones{/number}","notifications_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/labels{/name}","releases_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/releases{/id}","deployments_url":"https://api.github.com/repos/kaloyan-raev/go-libstorj/deployments","created_at":"2018-04-02T06:19:50Z","updated_at":"2018-04-02T06:19:52Z","pushed_at":"2018-04-02T12:08:32Z","git_url":"git://github.com/kaloyan-raev/go-libstorj.git","ssh_url":"git@github.com:kaloyan-raev/go-libstorj.git","clone_url":"https://github.com/kaloyan-raev/go-libstorj.git","svn_url":"https://github.com/kaloyan-raev/go-libstorj","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":null,"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":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Storj:master","ref":"master","sha":"fe8397508dde13ac241e40652dfbbc4a58286fcb","user":{"login":"Storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/Storj","html_url":"https://github.com/Storj","followers_url":"https://api.github.com/users/Storj/followers","following_url":"https://api.github.com/users/Storj/following{/other_user}","gists_url":"https://api.github.com/users/Storj/gists{/gist_id}","starred_url":"https://api.github.com/users/Storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storj/subscriptions","organizations_url":"https://api.github.com/users/Storj/orgs","repos_url":"https://api.github.com/users/Storj/repos","events_url":"https://api.github.com/users/Storj/events{/privacy}","received_events_url":"https://api.github.com/users/Storj/received_events","type":"Organization","site_admin":false},"repo":{"id":107124240,"name":"go-libstorj","full_name":"Storj/go-libstorj","owner":{"login":"Storj","id":6308081,"avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/Storj","html_url":"https://github.com/Storj","followers_url":"https://api.github.com/users/Storj/followers","following_url":"https://api.github.com/users/Storj/following{/other_user}","gists_url":"https://api.github.com/users/Storj/gists{/gist_id}","starred_url":"https://api.github.com/users/Storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Storj/subscriptions","organizations_url":"https://api.github.com/users/Storj/orgs","repos_url":"https://api.github.com/users/Storj/repos","events_url":"https://api.github.com/users/Storj/events{/privacy}","received_events_url":"https://api.github.com/users/Storj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Storj/go-libstorj","description":"Go bindings for libstorj","fork":false,"url":"https://api.github.com/repos/Storj/go-libstorj","forks_url":"https://api.github.com/repos/Storj/go-libstorj/forks","keys_url":"https://api.github.com/repos/Storj/go-libstorj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Storj/go-libstorj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Storj/go-libstorj/teams","hooks_url":"https://api.github.com/repos/Storj/go-libstorj/hooks","issue_events_url":"https://api.github.com/repos/Storj/go-libstorj/issues/events{/number}","events_url":"https://api.github.com/repos/Storj/go-libstorj/events","assignees_url":"https://api.github.com/repos/Storj/go-libstorj/assignees{/user}","branches_url":"https://api.github.com/repos/Storj/go-libstorj/branches{/branch}","tags_url":"https://api.github.com/repos/Storj/go-libstorj/tags","blobs_url":"https://api.github.com/repos/Storj/go-libstorj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Storj/go-libstorj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Storj/go-libstorj/git/refs{/sha}","trees_url":"https://api.github.com/repos/Storj/go-libstorj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Storj/go-libstorj/statuses/{sha}","languages_url":"https://api.github.com/repos/Storj/go-libstorj/languages","stargazers_url":"https://api.github.com/repos/Storj/go-libstorj/stargazers","contributors_url":"https://api.github.com/repos/Storj/go-libstorj/contributors","subscribers_url":"https://api.github.com/repos/Storj/go-libstorj/subscribers","subscription_url":"https://api.github.com/repos/Storj/go-libstorj/subscription","commits_url":"https://api.github.com/repos/Storj/go-libstorj/commits{/sha}","git_commits_url":"https://api.github.com/repos/Storj/go-libstorj/git/commits{/sha}","comments_url":"https://api.github.com/repos/Storj/go-libstorj/comments{/number}","issue_comment_url":"https://api.github.com/repos/Storj/go-libstorj/issues/comments{/number}","contents_url":"https://api.github.com/repos/Storj/go-libstorj/contents/{+path}","compare_url":"https://api.github.com/repos/Storj/go-libstorj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Storj/go-libstorj/merges","archive_url":"https://api.github.com/repos/Storj/go-libstorj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Storj/go-libstorj/downloads","issues_url":"https://api.github.com/repos/Storj/go-libstorj/issues{/number}","pulls_url":"https://api.github.com/repos/Storj/go-libstorj/pulls{/number}","milestones_url":"https://api.github.com/repos/Storj/go-libstorj/milestones{/number}","notifications_url":"https://api.github.com/repos/Storj/go-libstorj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Storj/go-libstorj/labels{/name}","releases_url":"https://api.github.com/repos/Storj/go-libstorj/releases{/id}","deployments_url":"https://api.github.com/repos/Storj/go-libstorj/deployments","created_at":"2017-10-16T12:27:52Z","updated_at":"2018-03-09T05:52:05Z","pushed_at":"2018-04-02T12:08:34Z","git_url":"git://github.com/Storj/go-libstorj.git","ssh_url":"git@github.com:Storj/go-libstorj.git","clone_url":"https://github.com/Storj/go-libstorj.git","svn_url":"https://github.com/Storj/go-libstorj","homepage":null,"size":13,"stargazers_count":2,"watchers_count":2,"language":null,"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":2,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/2"},"html":{"href":"https://github.com/Storj/go-libstorj/pull/2"},"issue":{"href":"https://api.github.com/repos/Storj/go-libstorj/issues/2"},"comments":{"href":"https://api.github.com/repos/Storj/go-libstorj/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Storj/go-libstorj/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Storj/go-libstorj/statuses/d353f3866ba3c437a5a71ef955902982d13e474a"}},"author_association":"NONE"}}
{"actor":{"display_login":"kaloyan-raev"}}