{"action":"opened","number":27624,"pull_request":{"url":"https://api.github.com/repos/golang/go/pulls/27624","id":214700988,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NzAwOTg4","html_url":"https://github.com/golang/go/pull/27624","diff_url":"https://github.com/golang/go/pull/27624.diff","patch_url":"https://github.com/golang/go/pull/27624.patch","issue_url":"https://api.github.com/repos/golang/go/issues/27624","number":27624,"state":"open","locked":false,"title":"container/list: change Len(), Front(), and Back() methods to allow nil receiver","user":{"login":"roustem","id":104145,"node_id":"MDQ6VXNlcjEwNDE0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/104145?v=4","gravatar_id":"","url":"https://api.github.com/users/roustem","html_url":"https://github.com/roustem","followers_url":"https://api.github.com/users/roustem/followers","following_url":"https://api.github.com/users/roustem/following{/other_user}","gists_url":"https://api.github.com/users/roustem/gists{/gist_id}","starred_url":"https://api.github.com/users/roustem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roustem/subscriptions","organizations_url":"https://api.github.com/users/roustem/orgs","repos_url":"https://api.github.com/users/roustem/repos","events_url":"https://api.github.com/users/roustem/events{/privacy}","received_events_url":"https://api.github.com/users/roustem/received_events","type":"User","site_admin":false},"body":"At the moment List.Len() panics when called with an empty receiver:\r\nhttps://play.golang.org/p/60wWutjR-mt\r\n\r\nThis is not consistent with the built-in `len` implementation that allows `nil` parameters: https://golang.org/pkg/builtin/#len\r\n\r\n","created_at":"2018-09-11T17:01:16Z","updated_at":"2018-09-11T17:01:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/golang/go/pulls/27624/commits","review_comments_url":"https://api.github.com/repos/golang/go/pulls/27624/comments","review_comment_url":"https://api.github.com/repos/golang/go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/golang/go/issues/27624/comments","statuses_url":"https://api.github.com/repos/golang/go/statuses/d624b2640e2ea96c7569039f921e04b2cc3a9f51","head":{"label":"roustem:master","ref":"master","sha":"d624b2640e2ea96c7569039f921e04b2cc3a9f51","user":{"login":"roustem","id":104145,"node_id":"MDQ6VXNlcjEwNDE0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/104145?v=4","gravatar_id":"","url":"https://api.github.com/users/roustem","html_url":"https://github.com/roustem","followers_url":"https://api.github.com/users/roustem/followers","following_url":"https://api.github.com/users/roustem/following{/other_user}","gists_url":"https://api.github.com/users/roustem/gists{/gist_id}","starred_url":"https://api.github.com/users/roustem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roustem/subscriptions","organizations_url":"https://api.github.com/users/roustem/orgs","repos_url":"https://api.github.com/users/roustem/repos","events_url":"https://api.github.com/users/roustem/events{/privacy}","received_events_url":"https://api.github.com/users/roustem/received_events","type":"User","site_admin":false},"repo":{"id":148348129,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgzNDgxMjk=","name":"go","full_name":"roustem/go","owner":{"login":"roustem","id":104145,"node_id":"MDQ6VXNlcjEwNDE0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/104145?v=4","gravatar_id":"","url":"https://api.github.com/users/roustem","html_url":"https://github.com/roustem","followers_url":"https://api.github.com/users/roustem/followers","following_url":"https://api.github.com/users/roustem/following{/other_user}","gists_url":"https://api.github.com/users/roustem/gists{/gist_id}","starred_url":"https://api.github.com/users/roustem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roustem/subscriptions","organizations_url":"https://api.github.com/users/roustem/orgs","repos_url":"https://api.github.com/users/roustem/repos","events_url":"https://api.github.com/users/roustem/events{/privacy}","received_events_url":"https://api.github.com/users/roustem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/roustem/go","description":"The Go programming language","fork":true,"url":"https://api.github.com/repos/roustem/go","forks_url":"https://api.github.com/repos/roustem/go/forks","keys_url":"https://api.github.com/repos/roustem/go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roustem/go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roustem/go/teams","hooks_url":"https://api.github.com/repos/roustem/go/hooks","issue_events_url":"https://api.github.com/repos/roustem/go/issues/events{/number}","events_url":"https://api.github.com/repos/roustem/go/events","assignees_url":"https://api.github.com/repos/roustem/go/assignees{/user}","branches_url":"https://api.github.com/repos/roustem/go/branches{/branch}","tags_url":"https://api.github.com/repos/roustem/go/tags","blobs_url":"https://api.github.com/repos/roustem/go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roustem/go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roustem/go/git/refs{/sha}","trees_url":"https://api.github.com/repos/roustem/go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roustem/go/statuses/{sha}","languages_url":"https://api.github.com/repos/roustem/go/languages","stargazers_url":"https://api.github.com/repos/roustem/go/stargazers","contributors_url":"https://api.github.com/repos/roustem/go/contributors","subscribers_url":"https://api.github.com/repos/roustem/go/subscribers","subscription_url":"https://api.github.com/repos/roustem/go/subscription","commits_url":"https://api.github.com/repos/roustem/go/commits{/sha}","git_commits_url":"https://api.github.com/repos/roustem/go/git/commits{/sha}","comments_url":"https://api.github.com/repos/roustem/go/comments{/number}","issue_comment_url":"https://api.github.com/repos/roustem/go/issues/comments{/number}","contents_url":"https://api.github.com/repos/roustem/go/contents/{+path}","compare_url":"https://api.github.com/repos/roustem/go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roustem/go/merges","archive_url":"https://api.github.com/repos/roustem/go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roustem/go/downloads","issues_url":"https://api.github.com/repos/roustem/go/issues{/number}","pulls_url":"https://api.github.com/repos/roustem/go/pulls{/number}","milestones_url":"https://api.github.com/repos/roustem/go/milestones{/number}","notifications_url":"https://api.github.com/repos/roustem/go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roustem/go/labels{/name}","releases_url":"https://api.github.com/repos/roustem/go/releases{/id}","deployments_url":"https://api.github.com/repos/roustem/go/deployments","created_at":"2018-09-11T16:38:06Z","updated_at":"2018-09-11T16:47:45Z","pushed_at":"2018-09-11T16:47:42Z","git_url":"git://github.com/roustem/go.git","ssh_url":"git@github.com:roustem/go.git","clone_url":"https://github.com/roustem/go.git","svn_url":"https://github.com/roustem/go","homepage":"https://golang.org","size":184385,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"golang:master","ref":"master","sha":"aa4fc0e73654c0a8741d970bfca47c25125633cf","user":{"login":"golang","id":4314092,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTQwOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4314092?v=4","gravatar_id":"","url":"https://api.github.com/users/golang","html_url":"https://github.com/golang","followers_url":"https://api.github.com/users/golang/followers","following_url":"https://api.github.com/users/golang/following{/other_user}","gists_url":"https://api.github.com/users/golang/gists{/gist_id}","starred_url":"https://api.github.com/users/golang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang/subscriptions","organizations_url":"https://api.github.com/users/golang/orgs","repos_url":"https://api.github.com/users/golang/repos","events_url":"https://api.github.com/users/golang/events{/privacy}","received_events_url":"https://api.github.com/users/golang/received_events","type":"Organization","site_admin":false},"repo":{"id":23096959,"node_id":"MDEwOlJlcG9zaXRvcnkyMzA5Njk1OQ==","name":"go","full_name":"golang/go","owner":{"login":"golang","id":4314092,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTQwOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4314092?v=4","gravatar_id":"","url":"https://api.github.com/users/golang","html_url":"https://github.com/golang","followers_url":"https://api.github.com/users/golang/followers","following_url":"https://api.github.com/users/golang/following{/other_user}","gists_url":"https://api.github.com/users/golang/gists{/gist_id}","starred_url":"https://api.github.com/users/golang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang/subscriptions","organizations_url":"https://api.github.com/users/golang/orgs","repos_url":"https://api.github.com/users/golang/repos","events_url":"https://api.github.com/users/golang/events{/privacy}","received_events_url":"https://api.github.com/users/golang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/golang/go","description":"The Go programming language","fork":false,"url":"https://api.github.com/repos/golang/go","forks_url":"https://api.github.com/repos/golang/go/forks","keys_url":"https://api.github.com/repos/golang/go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golang/go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golang/go/teams","hooks_url":"https://api.github.com/repos/golang/go/hooks","issue_events_url":"https://api.github.com/repos/golang/go/issues/events{/number}","events_url":"https://api.github.com/repos/golang/go/events","assignees_url":"https://api.github.com/repos/golang/go/assignees{/user}","branches_url":"https://api.github.com/repos/golang/go/branches{/branch}","tags_url":"https://api.github.com/repos/golang/go/tags","blobs_url":"https://api.github.com/repos/golang/go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golang/go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golang/go/git/refs{/sha}","trees_url":"https://api.github.com/repos/golang/go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golang/go/statuses/{sha}","languages_url":"https://api.github.com/repos/golang/go/languages","stargazers_url":"https://api.github.com/repos/golang/go/stargazers","contributors_url":"https://api.github.com/repos/golang/go/contributors","subscribers_url":"https://api.github.com/repos/golang/go/subscribers","subscription_url":"https://api.github.com/repos/golang/go/subscription","commits_url":"https://api.github.com/repos/golang/go/commits{/sha}","git_commits_url":"https://api.github.com/repos/golang/go/git/commits{/sha}","comments_url":"https://api.github.com/repos/golang/go/comments{/number}","issue_comment_url":"https://api.github.com/repos/golang/go/issues/comments{/number}","contents_url":"https://api.github.com/repos/golang/go/contents/{+path}","compare_url":"https://api.github.com/repos/golang/go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golang/go/merges","archive_url":"https://api.github.com/repos/golang/go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golang/go/downloads","issues_url":"https://api.github.com/repos/golang/go/issues{/number}","pulls_url":"https://api.github.com/repos/golang/go/pulls{/number}","milestones_url":"https://api.github.com/repos/golang/go/milestones{/number}","notifications_url":"https://api.github.com/repos/golang/go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golang/go/labels{/name}","releases_url":"https://api.github.com/repos/golang/go/releases{/id}","deployments_url":"https://api.github.com/repos/golang/go/deployments","created_at":"2014-08-19T04:33:40Z","updated_at":"2018-09-11T16:43:17Z","pushed_at":"2018-09-11T16:37:28Z","git_url":"git://github.com/golang/go.git","ssh_url":"git@github.com:golang/go.git","clone_url":"https://github.com/golang/go.git","svn_url":"https://github.com/golang/go","homepage":"https://golang.org","size":184389,"stargazers_count":46729,"watchers_count":46729,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6374,"mirror_url":null,"archived":false,"open_issues_count":3873,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6374,"open_issues":3873,"watchers":46729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/golang/go/pulls/27624"},"html":{"href":"https://github.com/golang/go/pull/27624"},"issue":{"href":"https://api.github.com/repos/golang/go/issues/27624"},"comments":{"href":"https://api.github.com/repos/golang/go/issues/27624/comments"},"review_comments":{"href":"https://api.github.com/repos/golang/go/pulls/27624/comments"},"review_comment":{"href":"https://api.github.com/repos/golang/go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/golang/go/pulls/27624/commits"},"statuses":{"href":"https://api.github.com/repos/golang/go/statuses/d624b2640e2ea96c7569039f921e04b2cc3a9f51"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"roustem"}}