{"action":"opened","number":263,"pull_request":{"url":"https://api.github.com/repos/ugorji/go/pulls/263","id":213684984,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNjg0OTg0","html_url":"https://github.com/ugorji/go/pull/263","diff_url":"https://github.com/ugorji/go/pull/263.diff","patch_url":"https://github.com/ugorji/go/pull/263.patch","issue_url":"https://api.github.com/repos/ugorji/go/issues/263","number":263,"state":"open","locked":false,"title":"moved go.mod to root level","user":{"login":"savaki","id":108710,"node_id":"MDQ6VXNlcjEwODcxMA==","avatar_url":"https://avatars3.githubusercontent.com/u/108710?v=4","gravatar_id":"","url":"https://api.github.com/users/savaki","html_url":"https://github.com/savaki","followers_url":"https://api.github.com/users/savaki/followers","following_url":"https://api.github.com/users/savaki/following{/other_user}","gists_url":"https://api.github.com/users/savaki/gists{/gist_id}","starred_url":"https://api.github.com/users/savaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savaki/subscriptions","organizations_url":"https://api.github.com/users/savaki/orgs","repos_url":"https://api.github.com/users/savaki/repos","events_url":"https://api.github.com/users/savaki/events{/privacy}","received_events_url":"https://api.github.com/users/savaki/received_events","type":"User","site_admin":false},"body":"I believe the go.mod file that you have at the child level is causing issue when go modules is used outside the GOPATH.  Here's what happens when I attempt to use gin-gonic:\r\n\r\n```\r\n../../../go/pkg/mod/github.com/gin-gonic/gin@v1.3.0/binding/msgpack.go:12:2: unknown import path \"github.com/ugorji/go/codec\": ambiguous import: found github.com/ugorji/go/codec in multiple modules:\r\n\tgithub.com/ugorji/go v1.1.1 (/Users/matt/go/pkg/mod/github.com/ugorji/go@v1.1.1/codec)\r\n\tgithub.com/ugorji/go/codec v0.0.0-20180831062425-e253f1f20942 (/Users/matt/go/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20180831062425-e253f1f20942)\r\n```\r\n\r\nI think what's happening is that it's considering the go.mod file you put in the codec directory a separate module that's in conflict with github.com/ugorji/go/codec.","created_at":"2018-09-06T16:54:58Z","updated_at":"2018-09-06T16:54:58Z","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/ugorji/go/pulls/263/commits","review_comments_url":"https://api.github.com/repos/ugorji/go/pulls/263/comments","review_comment_url":"https://api.github.com/repos/ugorji/go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ugorji/go/issues/263/comments","statuses_url":"https://api.github.com/repos/ugorji/go/statuses/447ef0e561a16824439a3ec7efa24b4724339c44","head":{"label":"savaki:master","ref":"master","sha":"447ef0e561a16824439a3ec7efa24b4724339c44","user":{"login":"savaki","id":108710,"node_id":"MDQ6VXNlcjEwODcxMA==","avatar_url":"https://avatars3.githubusercontent.com/u/108710?v=4","gravatar_id":"","url":"https://api.github.com/users/savaki","html_url":"https://github.com/savaki","followers_url":"https://api.github.com/users/savaki/followers","following_url":"https://api.github.com/users/savaki/following{/other_user}","gists_url":"https://api.github.com/users/savaki/gists{/gist_id}","starred_url":"https://api.github.com/users/savaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savaki/subscriptions","organizations_url":"https://api.github.com/users/savaki/orgs","repos_url":"https://api.github.com/users/savaki/repos","events_url":"https://api.github.com/users/savaki/events{/privacy}","received_events_url":"https://api.github.com/users/savaki/received_events","type":"User","site_admin":false},"repo":{"id":147704654,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc3MDQ2NTQ=","name":"go-1","full_name":"savaki/go-1","owner":{"login":"savaki","id":108710,"node_id":"MDQ6VXNlcjEwODcxMA==","avatar_url":"https://avatars3.githubusercontent.com/u/108710?v=4","gravatar_id":"","url":"https://api.github.com/users/savaki","html_url":"https://github.com/savaki","followers_url":"https://api.github.com/users/savaki/followers","following_url":"https://api.github.com/users/savaki/following{/other_user}","gists_url":"https://api.github.com/users/savaki/gists{/gist_id}","starred_url":"https://api.github.com/users/savaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savaki/subscriptions","organizations_url":"https://api.github.com/users/savaki/orgs","repos_url":"https://api.github.com/users/savaki/repos","events_url":"https://api.github.com/users/savaki/events{/privacy}","received_events_url":"https://api.github.com/users/savaki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/savaki/go-1","description":"idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]","fork":true,"url":"https://api.github.com/repos/savaki/go-1","forks_url":"https://api.github.com/repos/savaki/go-1/forks","keys_url":"https://api.github.com/repos/savaki/go-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savaki/go-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savaki/go-1/teams","hooks_url":"https://api.github.com/repos/savaki/go-1/hooks","issue_events_url":"https://api.github.com/repos/savaki/go-1/issues/events{/number}","events_url":"https://api.github.com/repos/savaki/go-1/events","assignees_url":"https://api.github.com/repos/savaki/go-1/assignees{/user}","branches_url":"https://api.github.com/repos/savaki/go-1/branches{/branch}","tags_url":"https://api.github.com/repos/savaki/go-1/tags","blobs_url":"https://api.github.com/repos/savaki/go-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savaki/go-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savaki/go-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/savaki/go-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savaki/go-1/statuses/{sha}","languages_url":"https://api.github.com/repos/savaki/go-1/languages","stargazers_url":"https://api.github.com/repos/savaki/go-1/stargazers","contributors_url":"https://api.github.com/repos/savaki/go-1/contributors","subscribers_url":"https://api.github.com/repos/savaki/go-1/subscribers","subscription_url":"https://api.github.com/repos/savaki/go-1/subscription","commits_url":"https://api.github.com/repos/savaki/go-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/savaki/go-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/savaki/go-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/savaki/go-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/savaki/go-1/contents/{+path}","compare_url":"https://api.github.com/repos/savaki/go-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savaki/go-1/merges","archive_url":"https://api.github.com/repos/savaki/go-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savaki/go-1/downloads","issues_url":"https://api.github.com/repos/savaki/go-1/issues{/number}","pulls_url":"https://api.github.com/repos/savaki/go-1/pulls{/number}","milestones_url":"https://api.github.com/repos/savaki/go-1/milestones{/number}","notifications_url":"https://api.github.com/repos/savaki/go-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savaki/go-1/labels{/name}","releases_url":"https://api.github.com/repos/savaki/go-1/releases{/id}","deployments_url":"https://api.github.com/repos/savaki/go-1/deployments","created_at":"2018-09-06T16:49:23Z","updated_at":"2018-09-06T16:50:20Z","pushed_at":"2018-09-06T16:50:19Z","git_url":"git://github.com/savaki/go-1.git","ssh_url":"git@github.com:savaki/go-1.git","clone_url":"https://github.com/savaki/go-1.git","svn_url":"https://github.com/savaki/go-1","homepage":"","size":2693,"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":"ugorji:master","ref":"master","sha":"e253f1f20942cb6dc505e504e8bbba4b7f434cb2","user":{"login":"ugorji","id":1222082,"node_id":"MDQ6VXNlcjEyMjIwODI=","avatar_url":"https://avatars0.githubusercontent.com/u/1222082?v=4","gravatar_id":"","url":"https://api.github.com/users/ugorji","html_url":"https://github.com/ugorji","followers_url":"https://api.github.com/users/ugorji/followers","following_url":"https://api.github.com/users/ugorji/following{/other_user}","gists_url":"https://api.github.com/users/ugorji/gists{/gist_id}","starred_url":"https://api.github.com/users/ugorji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugorji/subscriptions","organizations_url":"https://api.github.com/users/ugorji/orgs","repos_url":"https://api.github.com/users/ugorji/repos","events_url":"https://api.github.com/users/ugorji/events{/privacy}","received_events_url":"https://api.github.com/users/ugorji/received_events","type":"User","site_admin":false},"repo":{"id":10373529,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM3MzUyOQ==","name":"go","full_name":"ugorji/go","owner":{"login":"ugorji","id":1222082,"node_id":"MDQ6VXNlcjEyMjIwODI=","avatar_url":"https://avatars0.githubusercontent.com/u/1222082?v=4","gravatar_id":"","url":"https://api.github.com/users/ugorji","html_url":"https://github.com/ugorji","followers_url":"https://api.github.com/users/ugorji/followers","following_url":"https://api.github.com/users/ugorji/following{/other_user}","gists_url":"https://api.github.com/users/ugorji/gists{/gist_id}","starred_url":"https://api.github.com/users/ugorji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugorji/subscriptions","organizations_url":"https://api.github.com/users/ugorji/orgs","repos_url":"https://api.github.com/users/ugorji/repos","events_url":"https://api.github.com/users/ugorji/events{/privacy}","received_events_url":"https://api.github.com/users/ugorji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ugorji/go","description":"idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]","fork":false,"url":"https://api.github.com/repos/ugorji/go","forks_url":"https://api.github.com/repos/ugorji/go/forks","keys_url":"https://api.github.com/repos/ugorji/go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ugorji/go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ugorji/go/teams","hooks_url":"https://api.github.com/repos/ugorji/go/hooks","issue_events_url":"https://api.github.com/repos/ugorji/go/issues/events{/number}","events_url":"https://api.github.com/repos/ugorji/go/events","assignees_url":"https://api.github.com/repos/ugorji/go/assignees{/user}","branches_url":"https://api.github.com/repos/ugorji/go/branches{/branch}","tags_url":"https://api.github.com/repos/ugorji/go/tags","blobs_url":"https://api.github.com/repos/ugorji/go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ugorji/go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ugorji/go/git/refs{/sha}","trees_url":"https://api.github.com/repos/ugorji/go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ugorji/go/statuses/{sha}","languages_url":"https://api.github.com/repos/ugorji/go/languages","stargazers_url":"https://api.github.com/repos/ugorji/go/stargazers","contributors_url":"https://api.github.com/repos/ugorji/go/contributors","subscribers_url":"https://api.github.com/repos/ugorji/go/subscribers","subscription_url":"https://api.github.com/repos/ugorji/go/subscription","commits_url":"https://api.github.com/repos/ugorji/go/commits{/sha}","git_commits_url":"https://api.github.com/repos/ugorji/go/git/commits{/sha}","comments_url":"https://api.github.com/repos/ugorji/go/comments{/number}","issue_comment_url":"https://api.github.com/repos/ugorji/go/issues/comments{/number}","contents_url":"https://api.github.com/repos/ugorji/go/contents/{+path}","compare_url":"https://api.github.com/repos/ugorji/go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ugorji/go/merges","archive_url":"https://api.github.com/repos/ugorji/go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ugorji/go/downloads","issues_url":"https://api.github.com/repos/ugorji/go/issues{/number}","pulls_url":"https://api.github.com/repos/ugorji/go/pulls{/number}","milestones_url":"https://api.github.com/repos/ugorji/go/milestones{/number}","notifications_url":"https://api.github.com/repos/ugorji/go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ugorji/go/labels{/name}","releases_url":"https://api.github.com/repos/ugorji/go/releases{/id}","deployments_url":"https://api.github.com/repos/ugorji/go/deployments","created_at":"2013-05-30T02:13:13Z","updated_at":"2018-09-06T07:43:51Z","pushed_at":"2018-08-31T06:25:01Z","git_url":"git://github.com/ugorji/go.git","ssh_url":"git@github.com:ugorji/go.git","clone_url":"https://github.com/ugorji/go.git","svn_url":"https://github.com/ugorji/go","homepage":"","size":2693,"stargazers_count":998,"watchers_count":998,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":156,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":156,"open_issues":2,"watchers":998,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ugorji/go/pulls/263"},"html":{"href":"https://github.com/ugorji/go/pull/263"},"issue":{"href":"https://api.github.com/repos/ugorji/go/issues/263"},"comments":{"href":"https://api.github.com/repos/ugorji/go/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/ugorji/go/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/ugorji/go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ugorji/go/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/ugorji/go/statuses/447ef0e561a16824439a3ec7efa24b4724339c44"}},"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":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"savaki"}}