{"action":"created","issue":{"url":"https://api.github.com/repos/golang/protobuf/issues/10","labels_url":"https://api.github.com/repos/golang/protobuf/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/golang/protobuf/issues/10/comments","events_url":"https://api.github.com/repos/golang/protobuf/issues/10/events","html_url":"https://github.com/golang/protobuf/issues/10","id":59498509,"number":10,"title":"two proto files belongto same package ","user":{"login":"coder-suncc","id":10388149,"avatar_url":"https://avatars.githubusercontent.com/u/10388149?v=3","gravatar_id":"","url":"https://api.github.com/users/coder-suncc","html_url":"https://github.com/coder-suncc","followers_url":"https://api.github.com/users/coder-suncc/followers","following_url":"https://api.github.com/users/coder-suncc/following{/other_user}","gists_url":"https://api.github.com/users/coder-suncc/gists{/gist_id}","starred_url":"https://api.github.com/users/coder-suncc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coder-suncc/subscriptions","organizations_url":"https://api.github.com/users/coder-suncc/orgs","repos_url":"https://api.github.com/users/coder-suncc/repos","events_url":"https://api.github.com/users/coder-suncc/events{/privacy}","received_events_url":"https://api.github.com/users/coder-suncc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-02T15:45:47Z","updated_at":"2015-08-08T04:33:58Z","closed_at":"2015-03-02T20:53:38Z","body":"For example:\r\na.proto\r\n     package Test;\r\n     message A{\r\n\t  required string name=1;\r\n     }\r\n\r\nb.proto\r\n     package Test;\r\n     import \"a.proto\";\r\n     message B{\r\n          required A a=1;\t\r\n     }\r\n\r\nfor this case ,protoc b.proto will see this : \r\n      import Test1 \"a.pb\"\r\n\r\nthanks for reading my poor English"},"comment":{"url":"https://api.github.com/repos/golang/protobuf/issues/comments/128911798","html_url":"https://github.com/golang/protobuf/issues/10#issuecomment-128911798","issue_url":"https://api.github.com/repos/golang/protobuf/issues/10","id":128911798,"user":{"login":"dsymonds","id":31506,"avatar_url":"https://avatars.githubusercontent.com/u/31506?v=3","gravatar_id":"","url":"https://api.github.com/users/dsymonds","html_url":"https://github.com/dsymonds","followers_url":"https://api.github.com/users/dsymonds/followers","following_url":"https://api.github.com/users/dsymonds/following{/other_user}","gists_url":"https://api.github.com/users/dsymonds/gists{/gist_id}","starred_url":"https://api.github.com/users/dsymonds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsymonds/subscriptions","organizations_url":"https://api.github.com/users/dsymonds/orgs","repos_url":"https://api.github.com/users/dsymonds/repos","events_url":"https://api.github.com/users/dsymonds/events{/privacy}","received_events_url":"https://api.github.com/users/dsymonds/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T04:33:58Z","updated_at":"2015-08-08T04:33:58Z","body":"I misspoke. If `a.proto` refers to a type in `b.proto`, it should import it."}}