GitHub PullRequestReviewCommentEvent at 2014-07-07 21:44:11
Repository: api-client-go
Actor: gkrasin
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/comments/14624650","id":14624650,"diff_hunk":"@@ -0,0 +1,140 @@\n+// Copyright 2014 The Google Genomics API Client in Go Authors.\n+// All rights reserved. Use of this source code is governed by\n+// an Apache license that can be found in the LICENSE file.\n+\n+package main\n+\n+import (\n+\t\"fmt\"\n+\t\"log\"\n+\t\"os\"\n+\n+\tgenomics \"code.google.com/p/google-api-go-client/genomics/v1beta\"\n+\t\"github.com/spf13/cobra\"\n+)\n+\n+func printDataset(ds *genomics.Dataset, indentLevel int) {\n+\tindent(indentLevel)\n+\tfmt.Printf(\"ID: %v, Project ID: %v, Is Public: %v\\n\", ds.Id, ds.ProjectId, ds.IsPublic)\n+}\n+\n+type paramDatasetsList struct {\n+\tprojectId  int64\n+\tpageToken  string\n+\tmaxResults uint64\n+}\n+\n+func (p *paramDatasetsList) command() *cobra.Command {\n+\tcmd := &cobra.Command{\n+\t\tUse:   \"list\",\n+\t\tShort: \"list for datasets in a project\",\n+\t\tRun:   p.run,\n+\t}\n+\tcmd.Flags().Int64VarP(&p.projectId, \"project-id\", \"\", 376902546192,\n+\t\t\"Google Cloud console project number\")\n+\tcmd.Flags().StringVarP(&p.pageToken, \"page-token\", \"\", \"\",","path":"datasets.go","position":35,"original_position":35,"commit_id":"6ef273273312b36c2517a9480d73253efde3b2e7","original_commit_id":"6ef273273312b36c2517a9480d73253efde3b2e7","user":{"login":"gkrasin","id":6720081,"avatar_url":"https://avatars.githubusercontent.com/u/6720081?","gravatar_id":"4e9f55177c4bc6fd21ed07236938b716","url":"https://api.github.com/users/gkrasin","html_url":"https://github.com/gkrasin","followers_url":"https://api.github.com/users/gkrasin/followers","following_url":"https://api.github.com/users/gkrasin/following{/other_user}","gists_url":"https://api.github.com/users/gkrasin/gists{/gist_id}","starred_url":"https://api.github.com/users/gkrasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkrasin/subscriptions","organizations_url":"https://api.github.com/users/gkrasin/orgs","repos_url":"https://api.github.com/users/gkrasin/repos","events_url":"https://api.github.com/users/gkrasin/events{/privacy}","received_events_url":"https://api.github.com/users/gkrasin/received_events","type":"User","site_admin":false},"body":"Please, don't break the line here.","created_at":"2014-07-07T21:44:11Z","updated_at":"2014-07-07T21:44:11Z","html_url":"https://github.com/googlegenomics/api-client-go/pull/7#discussion_r14624650","pull_request_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/comments/14624650"},"html":{"href":"https://github.com/googlegenomics/api-client-go/pull/7#discussion_r14624650"},"pull_request":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7","id":17743133,"html_url":"https://github.com/googlegenomics/api-client-go/pull/7","diff_url":"https://github.com/googlegenomics/api-client-go/pull/7.diff","patch_url":"https://github.com/googlegenomics/api-client-go/pull/7.patch","issue_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/7","number":7,"state":"open","title":"Add datasets {list,delete,get} commands","user":{"login":"namn","id":936668,"avatar_url":"https://avatars.githubusercontent.com/u/936668?","gravatar_id":"b0069c634385013d700ced1ad4eedc46","url":"https://api.github.com/users/namn","html_url":"https://github.com/namn","followers_url":"https://api.github.com/users/namn/followers","following_url":"https://api.github.com/users/namn/following{/other_user}","gists_url":"https://api.github.com/users/namn/gists{/gist_id}","starred_url":"https://api.github.com/users/namn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namn/subscriptions","organizations_url":"https://api.github.com/users/namn/orgs","repos_url":"https://api.github.com/users/namn/repos","events_url":"https://api.github.com/users/namn/events{/privacy}","received_events_url":"https://api.github.com/users/namn/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-29T00:57:20Z","updated_at":"2014-07-07T21:44:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"674d1c346ac7abda6943ef7f22d83de96ed45e0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7/commits","review_comments_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7/comments","review_comment_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/comments/{number}","comments_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/7/comments","statuses_url":"https://api.github.com/repos/googlegenomics/api-client-go/statuses/6ef273273312b36c2517a9480d73253efde3b2e7","head":{"label":"googlegenomics:namn/add-datasets-commands","ref":"namn/add-datasets-commands","sha":"6ef273273312b36c2517a9480d73253efde3b2e7","user":{"login":"googlegenomics","id":7434120,"avatar_url":"https://avatars.githubusercontent.com/u/7434120?","gravatar_id":null,"url":"https://api.github.com/users/googlegenomics","html_url":"https://github.com/googlegenomics","followers_url":"https://api.github.com/users/googlegenomics/followers","following_url":"https://api.github.com/users/googlegenomics/following{/other_user}","gists_url":"https://api.github.com/users/googlegenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/googlegenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlegenomics/subscriptions","organizations_url":"https://api.github.com/users/googlegenomics/orgs","repos_url":"https://api.github.com/users/googlegenomics/repos","events_url":"https://api.github.com/users/googlegenomics/events{/privacy}","received_events_url":"https://api.github.com/users/googlegenomics/received_events","type":"Organization","site_admin":false},"repo":{"id":19285219,"name":"api-client-go","full_name":"googlegenomics/api-client-go","owner":{"login":"googlegenomics","id":7434120,"avatar_url":"https://avatars.githubusercontent.com/u/7434120?","gravatar_id":null,"url":"https://api.github.com/users/googlegenomics","html_url":"https://github.com/googlegenomics","followers_url":"https://api.github.com/users/googlegenomics/followers","following_url":"https://api.github.com/users/googlegenomics/following{/other_user}","gists_url":"https://api.github.com/users/googlegenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/googlegenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlegenomics/subscriptions","organizations_url":"https://api.github.com/users/googlegenomics/orgs","repos_url":"https://api.github.com/users/googlegenomics/repos","events_url":"https://api.github.com/users/googlegenomics/events{/privacy}","received_events_url":"https://api.github.com/users/googlegenomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlegenomics/api-client-go","description":"Provides a command line interface for API queries in Go.","fork":false,"url":"https://api.github.com/repos/googlegenomics/api-client-go","forks_url":"https://api.github.com/repos/googlegenomics/api-client-go/forks","keys_url":"https://api.github.com/repos/googlegenomics/api-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlegenomics/api-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlegenomics/api-client-go/teams","hooks_url":"https://api.github.com/repos/googlegenomics/api-client-go/hooks","issue_events_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/googlegenomics/api-client-go/events","assignees_url":"https://api.github.com/repos/googlegenomics/api-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/googlegenomics/api-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/googlegenomics/api-client-go/tags","blobs_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlegenomics/api-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/googlegenomics/api-client-go/languages","stargazers_url":"https://api.github.com/repos/googlegenomics/api-client-go/stargazers","contributors_url":"https://api.github.com/repos/googlegenomics/api-client-go/contributors","subscribers_url":"https://api.github.com/repos/googlegenomics/api-client-go/subscribers","subscription_url":"https://api.github.com/repos/googlegenomics/api-client-go/subscription","commits_url":"https://api.github.com/repos/googlegenomics/api-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlegenomics/api-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/comments/{number}","contents_url":"https://api.github.com/repos/googlegenomics/api-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/googlegenomics/api-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlegenomics/api-client-go/merges","archive_url":"https://api.github.com/repos/googlegenomics/api-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlegenomics/api-client-go/downloads","issues_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/googlegenomics/api-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/googlegenomics/api-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlegenomics/api-client-go/labels{/name}","releases_url":"https://api.github.com/repos/googlegenomics/api-client-go/releases{/id}","created_at":"2014-04-29T17:26:40Z","updated_at":"2014-07-01T16:58:40Z","pushed_at":"2014-07-06T17:16:28Z","git_url":"git://github.com/googlegenomics/api-client-go.git","ssh_url":"git@github.com:googlegenomics/api-client-go.git","clone_url":"https://github.com/googlegenomics/api-client-go.git","svn_url":"https://github.com/googlegenomics/api-client-go","homepage":"","size":476,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"googlegenomics:master","ref":"master","sha":"585a91430be25c306ae9676d2b025f6aa0fff8bb","user":{"login":"googlegenomics","id":7434120,"avatar_url":"https://avatars.githubusercontent.com/u/7434120?","gravatar_id":null,"url":"https://api.github.com/users/googlegenomics","html_url":"https://github.com/googlegenomics","followers_url":"https://api.github.com/users/googlegenomics/followers","following_url":"https://api.github.com/users/googlegenomics/following{/other_user}","gists_url":"https://api.github.com/users/googlegenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/googlegenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlegenomics/subscriptions","organizations_url":"https://api.github.com/users/googlegenomics/orgs","repos_url":"https://api.github.com/users/googlegenomics/repos","events_url":"https://api.github.com/users/googlegenomics/events{/privacy}","received_events_url":"https://api.github.com/users/googlegenomics/received_events","type":"Organization","site_admin":false},"repo":{"id":19285219,"name":"api-client-go","full_name":"googlegenomics/api-client-go","owner":{"login":"googlegenomics","id":7434120,"avatar_url":"https://avatars.githubusercontent.com/u/7434120?","gravatar_id":null,"url":"https://api.github.com/users/googlegenomics","html_url":"https://github.com/googlegenomics","followers_url":"https://api.github.com/users/googlegenomics/followers","following_url":"https://api.github.com/users/googlegenomics/following{/other_user}","gists_url":"https://api.github.com/users/googlegenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/googlegenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlegenomics/subscriptions","organizations_url":"https://api.github.com/users/googlegenomics/orgs","repos_url":"https://api.github.com/users/googlegenomics/repos","events_url":"https://api.github.com/users/googlegenomics/events{/privacy}","received_events_url":"https://api.github.com/users/googlegenomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlegenomics/api-client-go","description":"Provides a command line interface for API queries in Go.","fork":false,"url":"https://api.github.com/repos/googlegenomics/api-client-go","forks_url":"https://api.github.com/repos/googlegenomics/api-client-go/forks","keys_url":"https://api.github.com/repos/googlegenomics/api-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlegenomics/api-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlegenomics/api-client-go/teams","hooks_url":"https://api.github.com/repos/googlegenomics/api-client-go/hooks","issue_events_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/googlegenomics/api-client-go/events","assignees_url":"https://api.github.com/repos/googlegenomics/api-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/googlegenomics/api-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/googlegenomics/api-client-go/tags","blobs_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlegenomics/api-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/googlegenomics/api-client-go/languages","stargazers_url":"https://api.github.com/repos/googlegenomics/api-client-go/stargazers","contributors_url":"https://api.github.com/repos/googlegenomics/api-client-go/contributors","subscribers_url":"https://api.github.com/repos/googlegenomics/api-client-go/subscribers","subscription_url":"https://api.github.com/repos/googlegenomics/api-client-go/subscription","commits_url":"https://api.github.com/repos/googlegenomics/api-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlegenomics/api-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlegenomics/api-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues/comments/{number}","contents_url":"https://api.github.com/repos/googlegenomics/api-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/googlegenomics/api-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlegenomics/api-client-go/merges","archive_url":"https://api.github.com/repos/googlegenomics/api-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlegenomics/api-client-go/downloads","issues_url":"https://api.github.com/repos/googlegenomics/api-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/googlegenomics/api-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/googlegenomics/api-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/googlegenomics/api-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlegenomics/api-client-go/labels{/name}","releases_url":"https://api.github.com/repos/googlegenomics/api-client-go/releases{/id}","created_at":"2014-04-29T17:26:40Z","updated_at":"2014-07-01T16:58:40Z","pushed_at":"2014-07-06T17:16:28Z","git_url":"git://github.com/googlegenomics/api-client-go.git","ssh_url":"git@github.com:googlegenomics/api-client-go.git","clone_url":"https://github.com/googlegenomics/api-client-go.git","svn_url":"https://github.com/googlegenomics/api-client-go","homepage":"","size":476,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7"},"html":{"href":"https://github.com/googlegenomics/api-client-go/pull/7"},"issue":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/issues/7"},"comments":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/googlegenomics/api-client-go/statuses/6ef273273312b36c2517a9480d73253efde3b2e7"}}}}