{"action":"closed","number":946,"pull_request":{"url":"https://api.github.com/repos/go-pg/pg/pulls/946","id":207761014,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NzYxMDE0","html_url":"https://github.com/go-pg/pg/pull/946","diff_url":"https://github.com/go-pg/pg/pull/946.diff","patch_url":"https://github.com/go-pg/pg/pull/946.patch","issue_url":"https://api.github.com/repos/go-pg/pg/issues/946","number":946,"state":"closed","locked":false,"title":"orm: return an error when struct can't be initialized","user":{"login":"vmihailenco","id":290976,"node_id":"MDQ6VXNlcjI5MDk3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/290976?v=4","gravatar_id":"","url":"https://api.github.com/users/vmihailenco","html_url":"https://github.com/vmihailenco","followers_url":"https://api.github.com/users/vmihailenco/followers","following_url":"https://api.github.com/users/vmihailenco/following{/other_user}","gists_url":"https://api.github.com/users/vmihailenco/gists{/gist_id}","starred_url":"https://api.github.com/users/vmihailenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmihailenco/subscriptions","organizations_url":"https://api.github.com/users/vmihailenco/orgs","repos_url":"https://api.github.com/users/vmihailenco/repos","events_url":"https://api.github.com/users/vmihailenco/events{/privacy}","received_events_url":"https://api.github.com/users/vmihailenco/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/go-pg/pg/issues/945","created_at":"2018-08-11T06:35:01Z","updated_at":"2018-08-11T06:40:20Z","closed_at":"2018-08-11T06:40:20Z","merged_at":"2018-08-11T06:40:19Z","merge_commit_sha":"843830ecdcbc7535d7b88505c969d08923119269","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/go-pg/pg/pulls/946/commits","review_comments_url":"https://api.github.com/repos/go-pg/pg/pulls/946/comments","review_comment_url":"https://api.github.com/repos/go-pg/pg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-pg/pg/issues/946/comments","statuses_url":"https://api.github.com/repos/go-pg/pg/statuses/e2d2dd28282cb2301aa6379d2e149a2b80e09215","head":{"label":"go-pg:fix/struct-init-error","ref":"fix/struct-init-error","sha":"e2d2dd28282cb2301aa6379d2e149a2b80e09215","user":{"login":"go-pg","id":7313912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTM5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7313912?v=4","gravatar_id":"","url":"https://api.github.com/users/go-pg","html_url":"https://github.com/go-pg","followers_url":"https://api.github.com/users/go-pg/followers","following_url":"https://api.github.com/users/go-pg/following{/other_user}","gists_url":"https://api.github.com/users/go-pg/gists{/gist_id}","starred_url":"https://api.github.com/users/go-pg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-pg/subscriptions","organizations_url":"https://api.github.com/users/go-pg/orgs","repos_url":"https://api.github.com/users/go-pg/repos","events_url":"https://api.github.com/users/go-pg/events{/privacy}","received_events_url":"https://api.github.com/users/go-pg/received_events","type":"Organization","site_admin":false},"repo":{"id":9646845,"node_id":"MDEwOlJlcG9zaXRvcnk5NjQ2ODQ1","name":"pg","full_name":"go-pg/pg","owner":{"login":"go-pg","id":7313912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTM5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7313912?v=4","gravatar_id":"","url":"https://api.github.com/users/go-pg","html_url":"https://github.com/go-pg","followers_url":"https://api.github.com/users/go-pg/followers","following_url":"https://api.github.com/users/go-pg/following{/other_user}","gists_url":"https://api.github.com/users/go-pg/gists{/gist_id}","starred_url":"https://api.github.com/users/go-pg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-pg/subscriptions","organizations_url":"https://api.github.com/users/go-pg/orgs","repos_url":"https://api.github.com/users/go-pg/repos","events_url":"https://api.github.com/users/go-pg/events{/privacy}","received_events_url":"https://api.github.com/users/go-pg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-pg/pg","description":"PostgreSQL ORM for Golang with focus on PostgreSQL features and performance","fork":false,"url":"https://api.github.com/repos/go-pg/pg","forks_url":"https://api.github.com/repos/go-pg/pg/forks","keys_url":"https://api.github.com/repos/go-pg/pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-pg/pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-pg/pg/teams","hooks_url":"https://api.github.com/repos/go-pg/pg/hooks","issue_events_url":"https://api.github.com/repos/go-pg/pg/issues/events{/number}","events_url":"https://api.github.com/repos/go-pg/pg/events","assignees_url":"https://api.github.com/repos/go-pg/pg/assignees{/user}","branches_url":"https://api.github.com/repos/go-pg/pg/branches{/branch}","tags_url":"https://api.github.com/repos/go-pg/pg/tags","blobs_url":"https://api.github.com/repos/go-pg/pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-pg/pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-pg/pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-pg/pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-pg/pg/statuses/{sha}","languages_url":"https://api.github.com/repos/go-pg/pg/languages","stargazers_url":"https://api.github.com/repos/go-pg/pg/stargazers","contributors_url":"https://api.github.com/repos/go-pg/pg/contributors","subscribers_url":"https://api.github.com/repos/go-pg/pg/subscribers","subscription_url":"https://api.github.com/repos/go-pg/pg/subscription","commits_url":"https://api.github.com/repos/go-pg/pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-pg/pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-pg/pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-pg/pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-pg/pg/contents/{+path}","compare_url":"https://api.github.com/repos/go-pg/pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-pg/pg/merges","archive_url":"https://api.github.com/repos/go-pg/pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-pg/pg/downloads","issues_url":"https://api.github.com/repos/go-pg/pg/issues{/number}","pulls_url":"https://api.github.com/repos/go-pg/pg/pulls{/number}","milestones_url":"https://api.github.com/repos/go-pg/pg/milestones{/number}","notifications_url":"https://api.github.com/repos/go-pg/pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-pg/pg/labels{/name}","releases_url":"https://api.github.com/repos/go-pg/pg/releases{/id}","deployments_url":"https://api.github.com/repos/go-pg/pg/deployments","created_at":"2013-04-24T12:31:41Z","updated_at":"2018-08-11T05:23:09Z","pushed_at":"2018-08-11T06:40:19Z","git_url":"git://github.com/go-pg/pg.git","ssh_url":"git@github.com:go-pg/pg.git","clone_url":"https://github.com/go-pg/pg.git","svn_url":"https://github.com/go-pg/pg","homepage":"http://godoc.org/github.com/go-pg/pg","size":1842,"stargazers_count":1915,"watchers_count":1915,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":135,"open_issues":19,"watchers":1915,"default_branch":"master"}},"base":{"label":"go-pg:master","ref":"master","sha":"fe3771f7f4cdf3a78e6d5391bc69f42c68bbe306","user":{"login":"go-pg","id":7313912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTM5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7313912?v=4","gravatar_id":"","url":"https://api.github.com/users/go-pg","html_url":"https://github.com/go-pg","followers_url":"https://api.github.com/users/go-pg/followers","following_url":"https://api.github.com/users/go-pg/following{/other_user}","gists_url":"https://api.github.com/users/go-pg/gists{/gist_id}","starred_url":"https://api.github.com/users/go-pg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-pg/subscriptions","organizations_url":"https://api.github.com/users/go-pg/orgs","repos_url":"https://api.github.com/users/go-pg/repos","events_url":"https://api.github.com/users/go-pg/events{/privacy}","received_events_url":"https://api.github.com/users/go-pg/received_events","type":"Organization","site_admin":false},"repo":{"id":9646845,"node_id":"MDEwOlJlcG9zaXRvcnk5NjQ2ODQ1","name":"pg","full_name":"go-pg/pg","owner":{"login":"go-pg","id":7313912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTM5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7313912?v=4","gravatar_id":"","url":"https://api.github.com/users/go-pg","html_url":"https://github.com/go-pg","followers_url":"https://api.github.com/users/go-pg/followers","following_url":"https://api.github.com/users/go-pg/following{/other_user}","gists_url":"https://api.github.com/users/go-pg/gists{/gist_id}","starred_url":"https://api.github.com/users/go-pg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-pg/subscriptions","organizations_url":"https://api.github.com/users/go-pg/orgs","repos_url":"https://api.github.com/users/go-pg/repos","events_url":"https://api.github.com/users/go-pg/events{/privacy}","received_events_url":"https://api.github.com/users/go-pg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-pg/pg","description":"PostgreSQL ORM for Golang with focus on PostgreSQL features and performance","fork":false,"url":"https://api.github.com/repos/go-pg/pg","forks_url":"https://api.github.com/repos/go-pg/pg/forks","keys_url":"https://api.github.com/repos/go-pg/pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-pg/pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-pg/pg/teams","hooks_url":"https://api.github.com/repos/go-pg/pg/hooks","issue_events_url":"https://api.github.com/repos/go-pg/pg/issues/events{/number}","events_url":"https://api.github.com/repos/go-pg/pg/events","assignees_url":"https://api.github.com/repos/go-pg/pg/assignees{/user}","branches_url":"https://api.github.com/repos/go-pg/pg/branches{/branch}","tags_url":"https://api.github.com/repos/go-pg/pg/tags","blobs_url":"https://api.github.com/repos/go-pg/pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-pg/pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-pg/pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-pg/pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-pg/pg/statuses/{sha}","languages_url":"https://api.github.com/repos/go-pg/pg/languages","stargazers_url":"https://api.github.com/repos/go-pg/pg/stargazers","contributors_url":"https://api.github.com/repos/go-pg/pg/contributors","subscribers_url":"https://api.github.com/repos/go-pg/pg/subscribers","subscription_url":"https://api.github.com/repos/go-pg/pg/subscription","commits_url":"https://api.github.com/repos/go-pg/pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-pg/pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-pg/pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-pg/pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-pg/pg/contents/{+path}","compare_url":"https://api.github.com/repos/go-pg/pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-pg/pg/merges","archive_url":"https://api.github.com/repos/go-pg/pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-pg/pg/downloads","issues_url":"https://api.github.com/repos/go-pg/pg/issues{/number}","pulls_url":"https://api.github.com/repos/go-pg/pg/pulls{/number}","milestones_url":"https://api.github.com/repos/go-pg/pg/milestones{/number}","notifications_url":"https://api.github.com/repos/go-pg/pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-pg/pg/labels{/name}","releases_url":"https://api.github.com/repos/go-pg/pg/releases{/id}","deployments_url":"https://api.github.com/repos/go-pg/pg/deployments","created_at":"2013-04-24T12:31:41Z","updated_at":"2018-08-11T05:23:09Z","pushed_at":"2018-08-11T06:40:19Z","git_url":"git://github.com/go-pg/pg.git","ssh_url":"git@github.com:go-pg/pg.git","clone_url":"https://github.com/go-pg/pg.git","svn_url":"https://github.com/go-pg/pg","homepage":"http://godoc.org/github.com/go-pg/pg","size":1842,"stargazers_count":1915,"watchers_count":1915,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":135,"open_issues":19,"watchers":1915,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-pg/pg/pulls/946"},"html":{"href":"https://github.com/go-pg/pg/pull/946"},"issue":{"href":"https://api.github.com/repos/go-pg/pg/issues/946"},"comments":{"href":"https://api.github.com/repos/go-pg/pg/issues/946/comments"},"review_comments":{"href":"https://api.github.com/repos/go-pg/pg/pulls/946/comments"},"review_comment":{"href":"https://api.github.com/repos/go-pg/pg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-pg/pg/pulls/946/commits"},"statuses":{"href":"https://api.github.com/repos/go-pg/pg/statuses/e2d2dd28282cb2301aa6379d2e149a2b80e09215"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vmihailenco","id":290976,"node_id":"MDQ6VXNlcjI5MDk3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/290976?v=4","gravatar_id":"","url":"https://api.github.com/users/vmihailenco","html_url":"https://github.com/vmihailenco","followers_url":"https://api.github.com/users/vmihailenco/followers","following_url":"https://api.github.com/users/vmihailenco/following{/other_user}","gists_url":"https://api.github.com/users/vmihailenco/gists{/gist_id}","starred_url":"https://api.github.com/users/vmihailenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmihailenco/subscriptions","organizations_url":"https://api.github.com/users/vmihailenco/orgs","repos_url":"https://api.github.com/users/vmihailenco/repos","events_url":"https://api.github.com/users/vmihailenco/events{/privacy}","received_events_url":"https://api.github.com/users/vmihailenco/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":8,"changed_files":2}}
{"actor":{"display_login":"vmihailenco"}}