{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/35777561","id":35777561,"diff_hunk":"@@ -17,30 +17,37 @@ type Stat_t struct {\n \tmtim syscall.Timespec\n }\n \n-func (s Stat_t) Mode() uint32 {\n+// Mode returns file's permission mode\n+func (s StatT) Mode() uint32 {\n \treturn s.mode\n }\n \n-func (s Stat_t) Uid() uint32 {\n+// UID return file's user id of owner\n+func (s StatT) UID() uint32 {\n \treturn s.uid\n }\n \n-func (s Stat_t) Gid() uint32 {\n+// Gid return file's group id of owner\n+func (s StatT) Gid() uint32 {\n \treturn s.gid\n }\n \n-func (s Stat_t) Rdev() uint64 {\n+// Rdev return file's device ID (if it's special file)","path":"pkg/system/stat.go","position":35,"original_position":35,"commit_id":"197091ccfe827d12fd191fe66ee6f8e0420caeca","original_commit_id":"197091ccfe827d12fd191fe66ee6f8e0420caeca","user":{"login":"vdemeester","id":6508,"avatar_url":"https://avatars.githubusercontent.com/u/6508?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemeester","html_url":"https://github.com/vdemeester","followers_url":"https://api.github.com/users/vdemeester/followers","following_url":"https://api.github.com/users/vdemeester/following{/other_user}","gists_url":"https://api.github.com/users/vdemeester/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemeester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemeester/subscriptions","organizations_url":"https://api.github.com/users/vdemeester/orgs","repos_url":"https://api.github.com/users/vdemeester/repos","events_url":"https://api.github.com/users/vdemeester/events{/privacy}","received_events_url":"https://api.github.com/users/vdemeester/received_events","type":"User","site_admin":false},"body":"s/return/returns/","created_at":"2015-07-29T16:07:30Z","updated_at":"2015-07-29T16:07:30Z","html_url":"https://github.com/docker/docker/pull/15125#discussion_r35777561","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/15125","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/35777561"},"html":{"href":"https://github.com/docker/docker/pull/15125#discussion_r35777561"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/15125"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/15125","id":41139668,"html_url":"https://github.com/docker/docker/pull/15125","diff_url":"https://github.com/docker/docker/pull/15125.diff","patch_url":"https://github.com/docker/docker/pull/15125.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/15125","number":15125,"state":"open","locked":false,"title":"fix golint warnings/errors on pkg/system and pkg/stdcopy","user":{"login":"WeiZhang555","id":1203611,"avatar_url":"https://avatars.githubusercontent.com/u/1203611?v=3","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"body":"Part of #14756\r\n\r\nSigned-off-by: Zhang Wei <zhangwei555@huawei.com>","created_at":"2015-07-29T15:54:06Z","updated_at":"2015-07-29T16:07:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"551fe36a29ee94264ab31a5e52fc3d76946e1c8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/15125/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/15125/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/15125/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/197091ccfe827d12fd191fe66ee6f8e0420caeca","head":{"label":"WeiZhang555:golint-stdcopy-system","ref":"golint-stdcopy-system","sha":"197091ccfe827d12fd191fe66ee6f8e0420caeca","user":{"login":"WeiZhang555","id":1203611,"avatar_url":"https://avatars.githubusercontent.com/u/1203611?v=3","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"repo":{"id":29129000,"name":"docker","full_name":"WeiZhang555/docker","owner":{"login":"WeiZhang555","id":1203611,"avatar_url":"https://avatars.githubusercontent.com/u/1203611?v=3","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WeiZhang555/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/WeiZhang555/docker","forks_url":"https://api.github.com/repos/WeiZhang555/docker/forks","keys_url":"https://api.github.com/repos/WeiZhang555/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeiZhang555/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeiZhang555/docker/teams","hooks_url":"https://api.github.com/repos/WeiZhang555/docker/hooks","issue_events_url":"https://api.github.com/repos/WeiZhang555/docker/issues/events{/number}","events_url":"https://api.github.com/repos/WeiZhang555/docker/events","assignees_url":"https://api.github.com/repos/WeiZhang555/docker/assignees{/user}","branches_url":"https://api.github.com/repos/WeiZhang555/docker/branches{/branch}","tags_url":"https://api.github.com/repos/WeiZhang555/docker/tags","blobs_url":"https://api.github.com/repos/WeiZhang555/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeiZhang555/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeiZhang555/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeiZhang555/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeiZhang555/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/WeiZhang555/docker/languages","stargazers_url":"https://api.github.com/repos/WeiZhang555/docker/stargazers","contributors_url":"https://api.github.com/repos/WeiZhang555/docker/contributors","subscribers_url":"https://api.github.com/repos/WeiZhang555/docker/subscribers","subscription_url":"https://api.github.com/repos/WeiZhang555/docker/subscription","commits_url":"https://api.github.com/repos/WeiZhang555/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeiZhang555/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeiZhang555/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeiZhang555/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeiZhang555/docker/contents/{+path}","compare_url":"https://api.github.com/repos/WeiZhang555/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeiZhang555/docker/merges","archive_url":"https://api.github.com/repos/WeiZhang555/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeiZhang555/docker/downloads","issues_url":"https://api.github.com/repos/WeiZhang555/docker/issues{/number}","pulls_url":"https://api.github.com/repos/WeiZhang555/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/WeiZhang555/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/WeiZhang555/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeiZhang555/docker/labels{/name}","releases_url":"https://api.github.com/repos/WeiZhang555/docker/releases{/id}","created_at":"2015-01-12T09:50:32Z","updated_at":"2015-04-23T10:47:58Z","pushed_at":"2015-07-29T15:58:12Z","git_url":"git://github.com/WeiZhang555/docker.git","ssh_url":"git@github.com:WeiZhang555/docker.git","clone_url":"https://github.com/WeiZhang555/docker.git","svn_url":"https://github.com/WeiZhang555/docker","homepage":"http://www.docker.com","size":62783,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"docker:master","ref":"master","sha":"9d3ad6d892312b544950dc1c2d7aae224a4b9d06","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-07-29T15:46:41Z","pushed_at":"2015-07-29T15:58:17Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":236707,"stargazers_count":23622,"watchers_count":23622,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5938,"mirror_url":null,"open_issues_count":1053,"forks":5938,"open_issues":1053,"watchers":23622,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/15125"},"html":{"href":"https://github.com/docker/docker/pull/15125"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/15125"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/15125/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/15125/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/15125/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/197091ccfe827d12fd191fe66ee6f8e0420caeca"}}}}