{"action":"created","issue":{"url":"https://api.github.com/repos/golang/protobuf/issues/101","labels_url":"https://api.github.com/repos/golang/protobuf/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/golang/protobuf/issues/101/comments","events_url":"https://api.github.com/repos/golang/protobuf/issues/101/events","html_url":"https://github.com/golang/protobuf/pull/101","id":118719452,"number":101,"title":"Allow for interception of package and file mapping","user":{"login":"zellyn","id":33625,"avatar_url":"https://avatars.githubusercontent.com/u/33625?v=3","gravatar_id":"","url":"https://api.github.com/users/zellyn","html_url":"https://github.com/zellyn","followers_url":"https://api.github.com/users/zellyn/followers","following_url":"https://api.github.com/users/zellyn/following{/other_user}","gists_url":"https://api.github.com/users/zellyn/gists{/gist_id}","starred_url":"https://api.github.com/users/zellyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zellyn/subscriptions","organizations_url":"https://api.github.com/users/zellyn/orgs","repos_url":"https://api.github.com/users/zellyn/repos","events_url":"https://api.github.com/users/zellyn/events{/privacy}","received_events_url":"https://api.github.com/users/zellyn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T22:41:50Z","updated_at":"2015-12-03T22:29:25Z","closed_at":"2015-12-03T22:29:25Z","pull_request":{"url":"https://api.github.com/repos/golang/protobuf/pulls/101","html_url":"https://github.com/golang/protobuf/pull/101","diff_url":"https://github.com/golang/protobuf/pull/101.diff","patch_url":"https://github.com/golang/protobuf/pull/101.patch"},"body":"Introduces a PackageMapper interface, and moves functionality relating\r\nto package names and paths into a default implementation. This allows\r\nclients to instantiate a generator and easily customize how generated\r\nfiles are arranged. It also allows the remapping of standard helper\r\npackages.\r\n\r\nI don't necessarily expect this PR to survive intact, but wanted to take a\r\nstab at a minimally-invasive attempt to allow alternate interpretations\r\nof go_package. Comments and suggestions welcome."},"comment":{"url":"https://api.github.com/repos/golang/protobuf/issues/comments/161807867","html_url":"https://github.com/golang/protobuf/pull/101#issuecomment-161807867","issue_url":"https://api.github.com/repos/golang/protobuf/issues/101","id":161807867,"user":{"login":"zellyn","id":33625,"avatar_url":"https://avatars.githubusercontent.com/u/33625?v=3","gravatar_id":"","url":"https://api.github.com/users/zellyn","html_url":"https://github.com/zellyn","followers_url":"https://api.github.com/users/zellyn/followers","following_url":"https://api.github.com/users/zellyn/following{/other_user}","gists_url":"https://api.github.com/users/zellyn/gists{/gist_id}","starred_url":"https://api.github.com/users/zellyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zellyn/subscriptions","organizations_url":"https://api.github.com/users/zellyn/orgs","repos_url":"https://api.github.com/users/zellyn/repos","events_url":"https://api.github.com/users/zellyn/events{/privacy}","received_events_url":"https://api.github.com/users/zellyn/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T22:29:25Z","updated_at":"2015-12-03T22:29:25Z","body":"I'm going to close this and work on it further - it's a lot more subtle than it appears at first blush."}}