{"action":"opened","number":97,"pull_request":{"url":"https://api.github.com/repos/docker/engine-api/pulls/97","id":59877850,"html_url":"https://github.com/docker/engine-api/pull/97","diff_url":"https://github.com/docker/engine-api/pull/97.diff","patch_url":"https://github.com/docker/engine-api/pull/97.patch","issue_url":"https://api.github.com/repos/docker/engine-api/issues/97","number":97,"state":"open","locked":false,"title":"strslice: refactor StrSlice to avoid unnecessary pointer traversal","user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"body":"By removing the struct wrapper around StrSlice, we maintain the slice\r\nproperties of the type (len, cap, make, etc.) while overriding the\r\nserialization. We get a simpler type with less pointer traversal.\r\n\r\nSigned-off-by: Stephen J Day <stephen.day@docker.com>","created_at":"2016-02-18T22:58:26Z","updated_at":"2016-02-18T22:58:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/engine-api/pulls/97/commits","review_comments_url":"https://api.github.com/repos/docker/engine-api/pulls/97/comments","review_comment_url":"https://api.github.com/repos/docker/engine-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/engine-api/issues/97/comments","statuses_url":"https://api.github.com/repos/docker/engine-api/statuses/1f417aeb1bb740aae61d573fb0e8eed8b3d32b24","head":{"label":"stevvooe:fix-strslice-type","ref":"fix-strslice-type","sha":"1f417aeb1bb740aae61d573fb0e8eed8b3d32b24","user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"repo":{"id":52044975,"name":"engine-api","full_name":"stevvooe/engine-api","owner":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevvooe/engine-api","description":"Go libraries providing client and server components compatible with the Docker engine","fork":true,"url":"https://api.github.com/repos/stevvooe/engine-api","forks_url":"https://api.github.com/repos/stevvooe/engine-api/forks","keys_url":"https://api.github.com/repos/stevvooe/engine-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevvooe/engine-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevvooe/engine-api/teams","hooks_url":"https://api.github.com/repos/stevvooe/engine-api/hooks","issue_events_url":"https://api.github.com/repos/stevvooe/engine-api/issues/events{/number}","events_url":"https://api.github.com/repos/stevvooe/engine-api/events","assignees_url":"https://api.github.com/repos/stevvooe/engine-api/assignees{/user}","branches_url":"https://api.github.com/repos/stevvooe/engine-api/branches{/branch}","tags_url":"https://api.github.com/repos/stevvooe/engine-api/tags","blobs_url":"https://api.github.com/repos/stevvooe/engine-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevvooe/engine-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevvooe/engine-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevvooe/engine-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevvooe/engine-api/statuses/{sha}","languages_url":"https://api.github.com/repos/stevvooe/engine-api/languages","stargazers_url":"https://api.github.com/repos/stevvooe/engine-api/stargazers","contributors_url":"https://api.github.com/repos/stevvooe/engine-api/contributors","subscribers_url":"https://api.github.com/repos/stevvooe/engine-api/subscribers","subscription_url":"https://api.github.com/repos/stevvooe/engine-api/subscription","commits_url":"https://api.github.com/repos/stevvooe/engine-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevvooe/engine-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevvooe/engine-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevvooe/engine-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevvooe/engine-api/contents/{+path}","compare_url":"https://api.github.com/repos/stevvooe/engine-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevvooe/engine-api/merges","archive_url":"https://api.github.com/repos/stevvooe/engine-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevvooe/engine-api/downloads","issues_url":"https://api.github.com/repos/stevvooe/engine-api/issues{/number}","pulls_url":"https://api.github.com/repos/stevvooe/engine-api/pulls{/number}","milestones_url":"https://api.github.com/repos/stevvooe/engine-api/milestones{/number}","notifications_url":"https://api.github.com/repos/stevvooe/engine-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevvooe/engine-api/labels{/name}","releases_url":"https://api.github.com/repos/stevvooe/engine-api/releases{/id}","deployments_url":"https://api.github.com/repos/stevvooe/engine-api/deployments","created_at":"2016-02-18T22:55:52Z","updated_at":"2016-02-18T22:55:53Z","pushed_at":"2016-02-18T22:58:09Z","git_url":"git://github.com/stevvooe/engine-api.git","ssh_url":"git@github.com:stevvooe/engine-api.git","clone_url":"https://github.com/stevvooe/engine-api.git","svn_url":"https://github.com/stevvooe/engine-api","homepage":"https://godoc.org/github.com/docker/engine-api","size":2268,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"1974d10b629cd962cc85afe1a8df76bc866981ba","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":49029588,"name":"engine-api","full_name":"docker/engine-api","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/engine-api","description":"Go libraries providing client and server components compatible with the Docker engine","fork":false,"url":"https://api.github.com/repos/docker/engine-api","forks_url":"https://api.github.com/repos/docker/engine-api/forks","keys_url":"https://api.github.com/repos/docker/engine-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/engine-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/engine-api/teams","hooks_url":"https://api.github.com/repos/docker/engine-api/hooks","issue_events_url":"https://api.github.com/repos/docker/engine-api/issues/events{/number}","events_url":"https://api.github.com/repos/docker/engine-api/events","assignees_url":"https://api.github.com/repos/docker/engine-api/assignees{/user}","branches_url":"https://api.github.com/repos/docker/engine-api/branches{/branch}","tags_url":"https://api.github.com/repos/docker/engine-api/tags","blobs_url":"https://api.github.com/repos/docker/engine-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/engine-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/engine-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/engine-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/engine-api/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/engine-api/languages","stargazers_url":"https://api.github.com/repos/docker/engine-api/stargazers","contributors_url":"https://api.github.com/repos/docker/engine-api/contributors","subscribers_url":"https://api.github.com/repos/docker/engine-api/subscribers","subscription_url":"https://api.github.com/repos/docker/engine-api/subscription","commits_url":"https://api.github.com/repos/docker/engine-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/engine-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/engine-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/engine-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/engine-api/contents/{+path}","compare_url":"https://api.github.com/repos/docker/engine-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/engine-api/merges","archive_url":"https://api.github.com/repos/docker/engine-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/engine-api/downloads","issues_url":"https://api.github.com/repos/docker/engine-api/issues{/number}","pulls_url":"https://api.github.com/repos/docker/engine-api/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/engine-api/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/engine-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/engine-api/labels{/name}","releases_url":"https://api.github.com/repos/docker/engine-api/releases{/id}","deployments_url":"https://api.github.com/repos/docker/engine-api/deployments","created_at":"2016-01-04T23:28:36Z","updated_at":"2016-02-18T02:31:11Z","pushed_at":"2016-02-18T22:58:26Z","git_url":"git://github.com/docker/engine-api.git","ssh_url":"git@github.com:docker/engine-api.git","clone_url":"https://github.com/docker/engine-api.git","svn_url":"https://github.com/docker/engine-api","homepage":"https://godoc.org/github.com/docker/engine-api","size":2331,"stargazers_count":83,"watchers_count":83,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":13,"forks":44,"open_issues":13,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/engine-api/pulls/97"},"html":{"href":"https://github.com/docker/engine-api/pull/97"},"issue":{"href":"https://api.github.com/repos/docker/engine-api/issues/97"},"comments":{"href":"https://api.github.com/repos/docker/engine-api/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/engine-api/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/engine-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/engine-api/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/docker/engine-api/statuses/1f417aeb1bb740aae61d573fb0e8eed8b3d32b24"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":80,"deletions":124,"changed_files":4}}