{"action":"created","comment":{"url":"https://api.github.com/repos/samalba/dockerclient/pulls/comments/27818762","id":27818762,"diff_hunk":"@@ -237,19 +248,9 @@ type BlkioStats struct {\n }\n \n type Stats struct {\n-\tRead    time.Time `json:\"read\"`\n-\tNetwork struct {\n-\t\tRxBytes   uint64 `json:\"rx_bytes\"`\n-\t\tRxPackets uint64 `json:\"rx_packets\"`\n-\t\tRxErrors  uint64 `json:\"rx_errors\"`\n-\t\tRxDropped uint64 `json:\"rx_dropped\"`\n-\t\tTxBytes   uint64 `json:\"tx_bytes\"`\n-\t\tTxPackets uint64 `json:\"tx_packets\"`\n-\t\tTxErrors  uint64 `json:\"tx_errors\"`\n-\t\tTxDropped uint64 `json:\"tx_dropped\"`\n-\t}\n-\n-\tCpuStats    CpuStats    `json:\"cpu_stats,omitempty\"`\n-\tMemoryStats MemoryStats `json:\"memory_stats,omitempty\"`\n-\tBlkioStats  BlkioStats  `json:\"blkio_stats,omitempty\"`\n+\tRead         time.Time    `json:\"read\"`\n+\tNetworkStats NetworkStats `json:\"network_stats,omitempty\"`","path":"types.go","position":38,"original_position":38,"commit_id":"82cfb0d8d968c614aebe833e57eeaeebd429fc28","original_commit_id":"82cfb0d8d968c614aebe833e57eeaeebd429fc28","user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"body":"Shouldn't this be just `network` ? ","created_at":"2015-04-06T18:42:47Z","updated_at":"2015-04-06T18:42:47Z","html_url":"https://github.com/samalba/dockerclient/pull/86#discussion_r27818762","pull_request_url":"https://api.github.com/repos/samalba/dockerclient/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/comments/27818762"},"html":{"href":"https://github.com/samalba/dockerclient/pull/86#discussion_r27818762"},"pull_request":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/samalba/dockerclient/pulls/86","id":32699587,"html_url":"https://github.com/samalba/dockerclient/pull/86","diff_url":"https://github.com/samalba/dockerclient/pull/86.diff","patch_url":"https://github.com/samalba/dockerclient/pull/86.patch","issue_url":"https://api.github.com/repos/samalba/dockerclient/issues/86","number":86,"state":"open","locked":false,"title":"add NetworkStats struct","user":{"login":"donhcd","id":902007,"avatar_url":"https://avatars.githubusercontent.com/u/902007?v=3","gravatar_id":"","url":"https://api.github.com/users/donhcd","html_url":"https://github.com/donhcd","followers_url":"https://api.github.com/users/donhcd/followers","following_url":"https://api.github.com/users/donhcd/following{/other_user}","gists_url":"https://api.github.com/users/donhcd/gists{/gist_id}","starred_url":"https://api.github.com/users/donhcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donhcd/subscriptions","organizations_url":"https://api.github.com/users/donhcd/orgs","repos_url":"https://api.github.com/users/donhcd/repos","events_url":"https://api.github.com/users/donhcd/events{/privacy}","received_events_url":"https://api.github.com/users/donhcd/received_events","type":"User","site_admin":false},"body":"inline structs are pretty terrible, especially for people who want to use those structs in their own data structures","created_at":"2015-04-06T18:41:23Z","updated_at":"2015-04-06T18:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3ed699a267f6381860e16cce35234f3a70961ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samalba/dockerclient/pulls/86/commits","review_comments_url":"https://api.github.com/repos/samalba/dockerclient/pulls/86/comments","review_comment_url":"https://api.github.com/repos/samalba/dockerclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samalba/dockerclient/issues/86/comments","statuses_url":"https://api.github.com/repos/samalba/dockerclient/statuses/82cfb0d8d968c614aebe833e57eeaeebd429fc28","head":{"label":"donhcd:networkSettings","ref":"networkSettings","sha":"82cfb0d8d968c614aebe833e57eeaeebd429fc28","user":{"login":"donhcd","id":902007,"avatar_url":"https://avatars.githubusercontent.com/u/902007?v=3","gravatar_id":"","url":"https://api.github.com/users/donhcd","html_url":"https://github.com/donhcd","followers_url":"https://api.github.com/users/donhcd/followers","following_url":"https://api.github.com/users/donhcd/following{/other_user}","gists_url":"https://api.github.com/users/donhcd/gists{/gist_id}","starred_url":"https://api.github.com/users/donhcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donhcd/subscriptions","organizations_url":"https://api.github.com/users/donhcd/orgs","repos_url":"https://api.github.com/users/donhcd/repos","events_url":"https://api.github.com/users/donhcd/events{/privacy}","received_events_url":"https://api.github.com/users/donhcd/received_events","type":"User","site_admin":false},"repo":{"id":26459261,"name":"dockerclient","full_name":"donhcd/dockerclient","owner":{"login":"donhcd","id":902007,"avatar_url":"https://avatars.githubusercontent.com/u/902007?v=3","gravatar_id":"","url":"https://api.github.com/users/donhcd","html_url":"https://github.com/donhcd","followers_url":"https://api.github.com/users/donhcd/followers","following_url":"https://api.github.com/users/donhcd/following{/other_user}","gists_url":"https://api.github.com/users/donhcd/gists{/gist_id}","starred_url":"https://api.github.com/users/donhcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donhcd/subscriptions","organizations_url":"https://api.github.com/users/donhcd/orgs","repos_url":"https://api.github.com/users/donhcd/repos","events_url":"https://api.github.com/users/donhcd/events{/privacy}","received_events_url":"https://api.github.com/users/donhcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/donhcd/dockerclient","description":"Docker client library in Go","fork":true,"url":"https://api.github.com/repos/donhcd/dockerclient","forks_url":"https://api.github.com/repos/donhcd/dockerclient/forks","keys_url":"https://api.github.com/repos/donhcd/dockerclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/donhcd/dockerclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/donhcd/dockerclient/teams","hooks_url":"https://api.github.com/repos/donhcd/dockerclient/hooks","issue_events_url":"https://api.github.com/repos/donhcd/dockerclient/issues/events{/number}","events_url":"https://api.github.com/repos/donhcd/dockerclient/events","assignees_url":"https://api.github.com/repos/donhcd/dockerclient/assignees{/user}","branches_url":"https://api.github.com/repos/donhcd/dockerclient/branches{/branch}","tags_url":"https://api.github.com/repos/donhcd/dockerclient/tags","blobs_url":"https://api.github.com/repos/donhcd/dockerclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/donhcd/dockerclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/donhcd/dockerclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/donhcd/dockerclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/donhcd/dockerclient/statuses/{sha}","languages_url":"https://api.github.com/repos/donhcd/dockerclient/languages","stargazers_url":"https://api.github.com/repos/donhcd/dockerclient/stargazers","contributors_url":"https://api.github.com/repos/donhcd/dockerclient/contributors","subscribers_url":"https://api.github.com/repos/donhcd/dockerclient/subscribers","subscription_url":"https://api.github.com/repos/donhcd/dockerclient/subscription","commits_url":"https://api.github.com/repos/donhcd/dockerclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/donhcd/dockerclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/donhcd/dockerclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/donhcd/dockerclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/donhcd/dockerclient/contents/{+path}","compare_url":"https://api.github.com/repos/donhcd/dockerclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/donhcd/dockerclient/merges","archive_url":"https://api.github.com/repos/donhcd/dockerclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/donhcd/dockerclient/downloads","issues_url":"https://api.github.com/repos/donhcd/dockerclient/issues{/number}","pulls_url":"https://api.github.com/repos/donhcd/dockerclient/pulls{/number}","milestones_url":"https://api.github.com/repos/donhcd/dockerclient/milestones{/number}","notifications_url":"https://api.github.com/repos/donhcd/dockerclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/donhcd/dockerclient/labels{/name}","releases_url":"https://api.github.com/repos/donhcd/dockerclient/releases{/id}","created_at":"2014-11-10T22:40:47Z","updated_at":"2015-04-06T18:36:30Z","pushed_at":"2015-04-06T18:38:18Z","git_url":"git://github.com/donhcd/dockerclient.git","ssh_url":"git@github.com:donhcd/dockerclient.git","clone_url":"https://github.com/donhcd/dockerclient.git","svn_url":"https://github.com/donhcd/dockerclient","homepage":"http://www.docker.com/","size":361,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"samalba:master","ref":"master","sha":"b6fedb4bb68f1a49ae6dd6bf0ece55d39fa32510","user":{"login":"samalba","id":216487,"avatar_url":"https://avatars.githubusercontent.com/u/216487?v=3","gravatar_id":"","url":"https://api.github.com/users/samalba","html_url":"https://github.com/samalba","followers_url":"https://api.github.com/users/samalba/followers","following_url":"https://api.github.com/users/samalba/following{/other_user}","gists_url":"https://api.github.com/users/samalba/gists{/gist_id}","starred_url":"https://api.github.com/users/samalba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samalba/subscriptions","organizations_url":"https://api.github.com/users/samalba/orgs","repos_url":"https://api.github.com/users/samalba/repos","events_url":"https://api.github.com/users/samalba/events{/privacy}","received_events_url":"https://api.github.com/users/samalba/received_events","type":"User","site_admin":false},"repo":{"id":15388290,"name":"dockerclient","full_name":"samalba/dockerclient","owner":{"login":"samalba","id":216487,"avatar_url":"https://avatars.githubusercontent.com/u/216487?v=3","gravatar_id":"","url":"https://api.github.com/users/samalba","html_url":"https://github.com/samalba","followers_url":"https://api.github.com/users/samalba/followers","following_url":"https://api.github.com/users/samalba/following{/other_user}","gists_url":"https://api.github.com/users/samalba/gists{/gist_id}","starred_url":"https://api.github.com/users/samalba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samalba/subscriptions","organizations_url":"https://api.github.com/users/samalba/orgs","repos_url":"https://api.github.com/users/samalba/repos","events_url":"https://api.github.com/users/samalba/events{/privacy}","received_events_url":"https://api.github.com/users/samalba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samalba/dockerclient","description":"Docker client library in Go","fork":false,"url":"https://api.github.com/repos/samalba/dockerclient","forks_url":"https://api.github.com/repos/samalba/dockerclient/forks","keys_url":"https://api.github.com/repos/samalba/dockerclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samalba/dockerclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samalba/dockerclient/teams","hooks_url":"https://api.github.com/repos/samalba/dockerclient/hooks","issue_events_url":"https://api.github.com/repos/samalba/dockerclient/issues/events{/number}","events_url":"https://api.github.com/repos/samalba/dockerclient/events","assignees_url":"https://api.github.com/repos/samalba/dockerclient/assignees{/user}","branches_url":"https://api.github.com/repos/samalba/dockerclient/branches{/branch}","tags_url":"https://api.github.com/repos/samalba/dockerclient/tags","blobs_url":"https://api.github.com/repos/samalba/dockerclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samalba/dockerclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samalba/dockerclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/samalba/dockerclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samalba/dockerclient/statuses/{sha}","languages_url":"https://api.github.com/repos/samalba/dockerclient/languages","stargazers_url":"https://api.github.com/repos/samalba/dockerclient/stargazers","contributors_url":"https://api.github.com/repos/samalba/dockerclient/contributors","subscribers_url":"https://api.github.com/repos/samalba/dockerclient/subscribers","subscription_url":"https://api.github.com/repos/samalba/dockerclient/subscription","commits_url":"https://api.github.com/repos/samalba/dockerclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/samalba/dockerclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/samalba/dockerclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/samalba/dockerclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/samalba/dockerclient/contents/{+path}","compare_url":"https://api.github.com/repos/samalba/dockerclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samalba/dockerclient/merges","archive_url":"https://api.github.com/repos/samalba/dockerclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samalba/dockerclient/downloads","issues_url":"https://api.github.com/repos/samalba/dockerclient/issues{/number}","pulls_url":"https://api.github.com/repos/samalba/dockerclient/pulls{/number}","milestones_url":"https://api.github.com/repos/samalba/dockerclient/milestones{/number}","notifications_url":"https://api.github.com/repos/samalba/dockerclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samalba/dockerclient/labels{/name}","releases_url":"https://api.github.com/repos/samalba/dockerclient/releases{/id}","created_at":"2013-12-23T05:26:10Z","updated_at":"2015-04-03T20:44:46Z","pushed_at":"2015-04-06T18:41:23Z","git_url":"git://github.com/samalba/dockerclient.git","ssh_url":"git@github.com:samalba/dockerclient.git","clone_url":"https://github.com/samalba/dockerclient.git","svn_url":"https://github.com/samalba/dockerclient","homepage":"http://www.docker.com/","size":1160,"stargazers_count":120,"watchers_count":120,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":57,"mirror_url":null,"open_issues_count":24,"forks":57,"open_issues":24,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/86"},"html":{"href":"https://github.com/samalba/dockerclient/pull/86"},"issue":{"href":"https://api.github.com/repos/samalba/dockerclient/issues/86"},"comments":{"href":"https://api.github.com/repos/samalba/dockerclient/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samalba/dockerclient/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/samalba/dockerclient/statuses/82cfb0d8d968c614aebe833e57eeaeebd429fc28"}}}}