{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/vektah/dataloaden/pulls/3","id":191730278,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzMwMjc4","html_url":"https://github.com/vektah/dataloaden/pull/3","diff_url":"https://github.com/vektah/dataloaden/pull/3.diff","patch_url":"https://github.com/vektah/dataloaden/pull/3.patch","issue_url":"https://api.github.com/repos/vektah/dataloaden/issues/3","number":3,"state":"closed","locked":false,"title":"Support package names other than directory base path name","user":{"login":"dvic","id":1214337,"node_id":"MDQ6VXNlcjEyMTQzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1214337?v=4","gravatar_id":"","url":"https://api.github.com/users/dvic","html_url":"https://github.com/dvic","followers_url":"https://api.github.com/users/dvic/followers","following_url":"https://api.github.com/users/dvic/following{/other_user}","gists_url":"https://api.github.com/users/dvic/gists{/gist_id}","starred_url":"https://api.github.com/users/dvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvic/subscriptions","organizations_url":"https://api.github.com/users/dvic/orgs","repos_url":"https://api.github.com/users/dvic/repos","events_url":"https://api.github.com/users/dvic/events{/privacy}","received_events_url":"https://api.github.com/users/dvic/received_events","type":"User","site_admin":false},"body":"This PR changes how the output package name is chosen. Instead of using the base path, it first checks if there is a go file in the working directory and uses that package name. In this way, the generated file will contain the correct package name if it is different than the base path (which is allowed in Go).","created_at":"2018-05-31T11:54:25Z","updated_at":"2018-06-06T03:15:45Z","closed_at":"2018-06-06T03:15:45Z","merged_at":"2018-06-06T03:15:45Z","merge_commit_sha":"4e0fc42b991cf46537224057cde372ab2329fcdc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vektah/dataloaden/pulls/3/commits","review_comments_url":"https://api.github.com/repos/vektah/dataloaden/pulls/3/comments","review_comment_url":"https://api.github.com/repos/vektah/dataloaden/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vektah/dataloaden/issues/3/comments","statuses_url":"https://api.github.com/repos/vektah/dataloaden/statuses/098dd2626aa001953e5fbb90903a7c7654bd8a5f","head":{"label":"dvic:diff-pkg-names","ref":"diff-pkg-names","sha":"098dd2626aa001953e5fbb90903a7c7654bd8a5f","user":{"login":"dvic","id":1214337,"node_id":"MDQ6VXNlcjEyMTQzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1214337?v=4","gravatar_id":"","url":"https://api.github.com/users/dvic","html_url":"https://github.com/dvic","followers_url":"https://api.github.com/users/dvic/followers","following_url":"https://api.github.com/users/dvic/following{/other_user}","gists_url":"https://api.github.com/users/dvic/gists{/gist_id}","starred_url":"https://api.github.com/users/dvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvic/subscriptions","organizations_url":"https://api.github.com/users/dvic/orgs","repos_url":"https://api.github.com/users/dvic/repos","events_url":"https://api.github.com/users/dvic/events{/privacy}","received_events_url":"https://api.github.com/users/dvic/received_events","type":"User","site_admin":false},"repo":{"id":135574941,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU1NzQ5NDE=","name":"dataloaden","full_name":"dvic/dataloaden","owner":{"login":"dvic","id":1214337,"node_id":"MDQ6VXNlcjEyMTQzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1214337?v=4","gravatar_id":"","url":"https://api.github.com/users/dvic","html_url":"https://github.com/dvic","followers_url":"https://api.github.com/users/dvic/followers","following_url":"https://api.github.com/users/dvic/following{/other_user}","gists_url":"https://api.github.com/users/dvic/gists{/gist_id}","starred_url":"https://api.github.com/users/dvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvic/subscriptions","organizations_url":"https://api.github.com/users/dvic/orgs","repos_url":"https://api.github.com/users/dvic/repos","events_url":"https://api.github.com/users/dvic/events{/privacy}","received_events_url":"https://api.github.com/users/dvic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dvic/dataloaden","description":"go generate based DataLoader","fork":true,"url":"https://api.github.com/repos/dvic/dataloaden","forks_url":"https://api.github.com/repos/dvic/dataloaden/forks","keys_url":"https://api.github.com/repos/dvic/dataloaden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dvic/dataloaden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dvic/dataloaden/teams","hooks_url":"https://api.github.com/repos/dvic/dataloaden/hooks","issue_events_url":"https://api.github.com/repos/dvic/dataloaden/issues/events{/number}","events_url":"https://api.github.com/repos/dvic/dataloaden/events","assignees_url":"https://api.github.com/repos/dvic/dataloaden/assignees{/user}","branches_url":"https://api.github.com/repos/dvic/dataloaden/branches{/branch}","tags_url":"https://api.github.com/repos/dvic/dataloaden/tags","blobs_url":"https://api.github.com/repos/dvic/dataloaden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dvic/dataloaden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dvic/dataloaden/git/refs{/sha}","trees_url":"https://api.github.com/repos/dvic/dataloaden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dvic/dataloaden/statuses/{sha}","languages_url":"https://api.github.com/repos/dvic/dataloaden/languages","stargazers_url":"https://api.github.com/repos/dvic/dataloaden/stargazers","contributors_url":"https://api.github.com/repos/dvic/dataloaden/contributors","subscribers_url":"https://api.github.com/repos/dvic/dataloaden/subscribers","subscription_url":"https://api.github.com/repos/dvic/dataloaden/subscription","commits_url":"https://api.github.com/repos/dvic/dataloaden/commits{/sha}","git_commits_url":"https://api.github.com/repos/dvic/dataloaden/git/commits{/sha}","comments_url":"https://api.github.com/repos/dvic/dataloaden/comments{/number}","issue_comment_url":"https://api.github.com/repos/dvic/dataloaden/issues/comments{/number}","contents_url":"https://api.github.com/repos/dvic/dataloaden/contents/{+path}","compare_url":"https://api.github.com/repos/dvic/dataloaden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dvic/dataloaden/merges","archive_url":"https://api.github.com/repos/dvic/dataloaden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dvic/dataloaden/downloads","issues_url":"https://api.github.com/repos/dvic/dataloaden/issues{/number}","pulls_url":"https://api.github.com/repos/dvic/dataloaden/pulls{/number}","milestones_url":"https://api.github.com/repos/dvic/dataloaden/milestones{/number}","notifications_url":"https://api.github.com/repos/dvic/dataloaden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dvic/dataloaden/labels{/name}","releases_url":"https://api.github.com/repos/dvic/dataloaden/releases{/id}","deployments_url":"https://api.github.com/repos/dvic/dataloaden/deployments","created_at":"2018-05-31T11:31:13Z","updated_at":"2018-05-31T11:31:15Z","pushed_at":"2018-06-04T13:38:09Z","git_url":"git://github.com/dvic/dataloaden.git","ssh_url":"git@github.com:dvic/dataloaden.git","clone_url":"https://github.com/dvic/dataloaden.git","svn_url":"https://github.com/dvic/dataloaden","homepage":null,"size":26,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vektah:master","ref":"master","sha":"bcdb360b46d90534f560c76c378b1fe437e017ef","user":{"login":"vektah","id":2247982,"node_id":"MDQ6VXNlcjIyNDc5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/vektah","html_url":"https://github.com/vektah","followers_url":"https://api.github.com/users/vektah/followers","following_url":"https://api.github.com/users/vektah/following{/other_user}","gists_url":"https://api.github.com/users/vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektah/subscriptions","organizations_url":"https://api.github.com/users/vektah/orgs","repos_url":"https://api.github.com/users/vektah/repos","events_url":"https://api.github.com/users/vektah/events{/privacy}","received_events_url":"https://api.github.com/users/vektah/received_events","type":"User","site_admin":false},"repo":{"id":120907554,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA5MDc1NTQ=","name":"dataloaden","full_name":"vektah/dataloaden","owner":{"login":"vektah","id":2247982,"node_id":"MDQ6VXNlcjIyNDc5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/vektah","html_url":"https://github.com/vektah","followers_url":"https://api.github.com/users/vektah/followers","following_url":"https://api.github.com/users/vektah/following{/other_user}","gists_url":"https://api.github.com/users/vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektah/subscriptions","organizations_url":"https://api.github.com/users/vektah/orgs","repos_url":"https://api.github.com/users/vektah/repos","events_url":"https://api.github.com/users/vektah/events{/privacy}","received_events_url":"https://api.github.com/users/vektah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vektah/dataloaden","description":"go generate based DataLoader","fork":false,"url":"https://api.github.com/repos/vektah/dataloaden","forks_url":"https://api.github.com/repos/vektah/dataloaden/forks","keys_url":"https://api.github.com/repos/vektah/dataloaden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vektah/dataloaden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vektah/dataloaden/teams","hooks_url":"https://api.github.com/repos/vektah/dataloaden/hooks","issue_events_url":"https://api.github.com/repos/vektah/dataloaden/issues/events{/number}","events_url":"https://api.github.com/repos/vektah/dataloaden/events","assignees_url":"https://api.github.com/repos/vektah/dataloaden/assignees{/user}","branches_url":"https://api.github.com/repos/vektah/dataloaden/branches{/branch}","tags_url":"https://api.github.com/repos/vektah/dataloaden/tags","blobs_url":"https://api.github.com/repos/vektah/dataloaden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vektah/dataloaden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vektah/dataloaden/git/refs{/sha}","trees_url":"https://api.github.com/repos/vektah/dataloaden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vektah/dataloaden/statuses/{sha}","languages_url":"https://api.github.com/repos/vektah/dataloaden/languages","stargazers_url":"https://api.github.com/repos/vektah/dataloaden/stargazers","contributors_url":"https://api.github.com/repos/vektah/dataloaden/contributors","subscribers_url":"https://api.github.com/repos/vektah/dataloaden/subscribers","subscription_url":"https://api.github.com/repos/vektah/dataloaden/subscription","commits_url":"https://api.github.com/repos/vektah/dataloaden/commits{/sha}","git_commits_url":"https://api.github.com/repos/vektah/dataloaden/git/commits{/sha}","comments_url":"https://api.github.com/repos/vektah/dataloaden/comments{/number}","issue_comment_url":"https://api.github.com/repos/vektah/dataloaden/issues/comments{/number}","contents_url":"https://api.github.com/repos/vektah/dataloaden/contents/{+path}","compare_url":"https://api.github.com/repos/vektah/dataloaden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vektah/dataloaden/merges","archive_url":"https://api.github.com/repos/vektah/dataloaden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vektah/dataloaden/downloads","issues_url":"https://api.github.com/repos/vektah/dataloaden/issues{/number}","pulls_url":"https://api.github.com/repos/vektah/dataloaden/pulls{/number}","milestones_url":"https://api.github.com/repos/vektah/dataloaden/milestones{/number}","notifications_url":"https://api.github.com/repos/vektah/dataloaden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vektah/dataloaden/labels{/name}","releases_url":"https://api.github.com/repos/vektah/dataloaden/releases{/id}","deployments_url":"https://api.github.com/repos/vektah/dataloaden/deployments","created_at":"2018-02-09T13:14:51Z","updated_at":"2018-06-04T11:46:36Z","pushed_at":"2018-06-06T03:15:45Z","git_url":"git://github.com/vektah/dataloaden.git","ssh_url":"git@github.com:vektah/dataloaden.git","clone_url":"https://github.com/vektah/dataloaden.git","svn_url":"https://github.com/vektah/dataloaden","homepage":null,"size":22,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vektah/dataloaden/pulls/3"},"html":{"href":"https://github.com/vektah/dataloaden/pull/3"},"issue":{"href":"https://api.github.com/repos/vektah/dataloaden/issues/3"},"comments":{"href":"https://api.github.com/repos/vektah/dataloaden/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/vektah/dataloaden/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/vektah/dataloaden/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vektah/dataloaden/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/vektah/dataloaden/statuses/098dd2626aa001953e5fbb90903a7c7654bd8a5f"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vektah","id":2247982,"node_id":"MDQ6VXNlcjIyNDc5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/vektah","html_url":"https://github.com/vektah","followers_url":"https://api.github.com/users/vektah/followers","following_url":"https://api.github.com/users/vektah/following{/other_user}","gists_url":"https://api.github.com/users/vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektah/subscriptions","organizations_url":"https://api.github.com/users/vektah/orgs","repos_url":"https://api.github.com/users/vektah/repos","events_url":"https://api.github.com/users/vektah/events{/privacy}","received_events_url":"https://api.github.com/users/vektah/received_events","type":"User","site_admin":false},"comments":2,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":201,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"vektah"}}