{"action":"opened","number":122,"pull_request":{"url":"https://api.github.com/repos/google/blueprint/pulls/122","id":84219583,"html_url":"https://github.com/google/blueprint/pull/122","diff_url":"https://github.com/google/blueprint/pull/122.diff","patch_url":"https://github.com/google/blueprint/pull/122.patch","issue_url":"https://api.github.com/repos/google/blueprint/issues/122","number":122,"state":"open","locked":false,"title":"Support structures built with StructOf","user":{"login":"danw","id":38431,"avatar_url":"https://avatars.githubusercontent.com/u/38431?v=3","gravatar_id":"","url":"https://api.github.com/users/danw","html_url":"https://github.com/danw","followers_url":"https://api.github.com/users/danw/followers","following_url":"https://api.github.com/users/danw/following{/other_user}","gists_url":"https://api.github.com/users/danw/gists{/gist_id}","starred_url":"https://api.github.com/users/danw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danw/subscriptions","organizations_url":"https://api.github.com/users/danw/orgs","repos_url":"https://api.github.com/users/danw/repos","events_url":"https://api.github.com/users/danw/events{/privacy}","received_events_url":"https://api.github.com/users/danw/received_events","type":"User","site_admin":false},"body":"In Go 1.7, it doesn't seem possible to create unnamed anonymous fields\r\nwith StructOf. There are some documented limitations around anonymous\r\nfields and StructOf, so this may get better in future releases.\r\n\r\nFor now, special case fields named \"BlueprintEmbed\" to act like unnamed\r\nanonymous fields during unpacking. There is no functionality lost here,\r\nsince code can not directly access these runtime generated fields.\r\n\r\nStructures embedded in the source shouldn't be affected by this change,\r\nunless they happen to use the \"BlueprintEmbed\" field, which is not a\r\nvalid field name.","created_at":"2016-09-07T00:35:15Z","updated_at":"2016-09-07T00:35:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/blueprint/pulls/122/commits","review_comments_url":"https://api.github.com/repos/google/blueprint/pulls/122/comments","review_comment_url":"https://api.github.com/repos/google/blueprint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/blueprint/issues/122/comments","statuses_url":"https://api.github.com/repos/google/blueprint/statuses/8333430979619dd1f002f64f4d25ec8e633f1f0b","head":{"label":"danw:structof","ref":"structof","sha":"8333430979619dd1f002f64f4d25ec8e633f1f0b","user":{"login":"danw","id":38431,"avatar_url":"https://avatars.githubusercontent.com/u/38431?v=3","gravatar_id":"","url":"https://api.github.com/users/danw","html_url":"https://github.com/danw","followers_url":"https://api.github.com/users/danw/followers","following_url":"https://api.github.com/users/danw/following{/other_user}","gists_url":"https://api.github.com/users/danw/gists{/gist_id}","starred_url":"https://api.github.com/users/danw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danw/subscriptions","organizations_url":"https://api.github.com/users/danw/orgs","repos_url":"https://api.github.com/users/danw/repos","events_url":"https://api.github.com/users/danw/events{/privacy}","received_events_url":"https://api.github.com/users/danw/received_events","type":"User","site_admin":false},"repo":{"id":37167979,"name":"blueprint","full_name":"danw/blueprint","owner":{"login":"danw","id":38431,"avatar_url":"https://avatars.githubusercontent.com/u/38431?v=3","gravatar_id":"","url":"https://api.github.com/users/danw","html_url":"https://github.com/danw","followers_url":"https://api.github.com/users/danw/followers","following_url":"https://api.github.com/users/danw/following{/other_user}","gists_url":"https://api.github.com/users/danw/gists{/gist_id}","starred_url":"https://api.github.com/users/danw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danw/subscriptions","organizations_url":"https://api.github.com/users/danw/orgs","repos_url":"https://api.github.com/users/danw/repos","events_url":"https://api.github.com/users/danw/events{/privacy}","received_events_url":"https://api.github.com/users/danw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danw/blueprint","description":"","fork":true,"url":"https://api.github.com/repos/danw/blueprint","forks_url":"https://api.github.com/repos/danw/blueprint/forks","keys_url":"https://api.github.com/repos/danw/blueprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danw/blueprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danw/blueprint/teams","hooks_url":"https://api.github.com/repos/danw/blueprint/hooks","issue_events_url":"https://api.github.com/repos/danw/blueprint/issues/events{/number}","events_url":"https://api.github.com/repos/danw/blueprint/events","assignees_url":"https://api.github.com/repos/danw/blueprint/assignees{/user}","branches_url":"https://api.github.com/repos/danw/blueprint/branches{/branch}","tags_url":"https://api.github.com/repos/danw/blueprint/tags","blobs_url":"https://api.github.com/repos/danw/blueprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danw/blueprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danw/blueprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/danw/blueprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danw/blueprint/statuses/{sha}","languages_url":"https://api.github.com/repos/danw/blueprint/languages","stargazers_url":"https://api.github.com/repos/danw/blueprint/stargazers","contributors_url":"https://api.github.com/repos/danw/blueprint/contributors","subscribers_url":"https://api.github.com/repos/danw/blueprint/subscribers","subscription_url":"https://api.github.com/repos/danw/blueprint/subscription","commits_url":"https://api.github.com/repos/danw/blueprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/danw/blueprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/danw/blueprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/danw/blueprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/danw/blueprint/contents/{+path}","compare_url":"https://api.github.com/repos/danw/blueprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danw/blueprint/merges","archive_url":"https://api.github.com/repos/danw/blueprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danw/blueprint/downloads","issues_url":"https://api.github.com/repos/danw/blueprint/issues{/number}","pulls_url":"https://api.github.com/repos/danw/blueprint/pulls{/number}","milestones_url":"https://api.github.com/repos/danw/blueprint/milestones{/number}","notifications_url":"https://api.github.com/repos/danw/blueprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danw/blueprint/labels{/name}","releases_url":"https://api.github.com/repos/danw/blueprint/releases{/id}","deployments_url":"https://api.github.com/repos/danw/blueprint/deployments","created_at":"2015-06-10T01:16:41Z","updated_at":"2015-06-10T01:16:42Z","pushed_at":"2016-09-07T00:31:09Z","git_url":"git://github.com/danw/blueprint.git","ssh_url":"git@github.com:danw/blueprint.git","clone_url":"https://github.com/danw/blueprint.git","svn_url":"https://github.com/danw/blueprint","homepage":null,"size":850,"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":"google:master","ref":"master","sha":"4a35b51495b7391af1d072d2aa03f124d17c5a7a","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":31678940,"name":"blueprint","full_name":"google/blueprint","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/blueprint","description":"","fork":false,"url":"https://api.github.com/repos/google/blueprint","forks_url":"https://api.github.com/repos/google/blueprint/forks","keys_url":"https://api.github.com/repos/google/blueprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/blueprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/blueprint/teams","hooks_url":"https://api.github.com/repos/google/blueprint/hooks","issue_events_url":"https://api.github.com/repos/google/blueprint/issues/events{/number}","events_url":"https://api.github.com/repos/google/blueprint/events","assignees_url":"https://api.github.com/repos/google/blueprint/assignees{/user}","branches_url":"https://api.github.com/repos/google/blueprint/branches{/branch}","tags_url":"https://api.github.com/repos/google/blueprint/tags","blobs_url":"https://api.github.com/repos/google/blueprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/blueprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/blueprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/blueprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/blueprint/statuses/{sha}","languages_url":"https://api.github.com/repos/google/blueprint/languages","stargazers_url":"https://api.github.com/repos/google/blueprint/stargazers","contributors_url":"https://api.github.com/repos/google/blueprint/contributors","subscribers_url":"https://api.github.com/repos/google/blueprint/subscribers","subscription_url":"https://api.github.com/repos/google/blueprint/subscription","commits_url":"https://api.github.com/repos/google/blueprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/blueprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/blueprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/blueprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/blueprint/contents/{+path}","compare_url":"https://api.github.com/repos/google/blueprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/blueprint/merges","archive_url":"https://api.github.com/repos/google/blueprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/blueprint/downloads","issues_url":"https://api.github.com/repos/google/blueprint/issues{/number}","pulls_url":"https://api.github.com/repos/google/blueprint/pulls{/number}","milestones_url":"https://api.github.com/repos/google/blueprint/milestones{/number}","notifications_url":"https://api.github.com/repos/google/blueprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/blueprint/labels{/name}","releases_url":"https://api.github.com/repos/google/blueprint/releases{/id}","deployments_url":"https://api.github.com/repos/google/blueprint/deployments","created_at":"2015-03-04T20:43:50Z","updated_at":"2016-09-01T06:58:18Z","pushed_at":"2016-09-07T00:35:15Z","git_url":"git://github.com/google/blueprint.git","ssh_url":"git@github.com:google/blueprint.git","clone_url":"https://github.com/google/blueprint.git","svn_url":"https://github.com/google/blueprint","homepage":null,"size":966,"stargazers_count":103,"watchers_count":103,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":7,"forks":21,"open_issues":7,"watchers":103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/blueprint/pulls/122"},"html":{"href":"https://github.com/google/blueprint/pull/122"},"issue":{"href":"https://api.github.com/repos/google/blueprint/issues/122"},"comments":{"href":"https://api.github.com/repos/google/blueprint/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/google/blueprint/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/google/blueprint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/blueprint/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/google/blueprint/statuses/8333430979619dd1f002f64f4d25ec8e633f1f0b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"danw"}}