{"action":"opened","issue":{"url":"https://api.github.com/repos/glycerine/go-capnproto/issues/33","labels_url":"https://api.github.com/repos/glycerine/go-capnproto/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/glycerine/go-capnproto/issues/33/comments","events_url":"https://api.github.com/repos/glycerine/go-capnproto/issues/33/events","html_url":"https://github.com/glycerine/go-capnproto/issues/33","id":96227716,"number":33,"title":"Capnp's import statement doesn't keep after compile to go.","user":{"login":"changjej","id":4019016,"avatar_url":"https://avatars.githubusercontent.com/u/4019016?v=3","gravatar_id":"","url":"https://api.github.com/users/changjej","html_url":"https://github.com/changjej","followers_url":"https://api.github.com/users/changjej/followers","following_url":"https://api.github.com/users/changjej/following{/other_user}","gists_url":"https://api.github.com/users/changjej/gists{/gist_id}","starred_url":"https://api.github.com/users/changjej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changjej/subscriptions","organizations_url":"https://api.github.com/users/changjej/orgs","repos_url":"https://api.github.com/users/changjej/repos","events_url":"https://api.github.com/users/changjej/events{/privacy}","received_events_url":"https://api.github.com/users/changjej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-21T04:59:57Z","updated_at":"2015-07-21T04:59:57Z","closed_at":null,"body":"Hello, I want to do some thing like this. \r\n\r\na/a.capnp\r\n```\r\nusing Shared = import \"../shared/shared.capnp\";\r\n\r\nstruct Example {\r\n  a @0 :Shared.SharedEnum;\r\n}\r\n```\r\n\r\nshared/shared.capnp\r\n```\r\nenum SharedEnum {\r\nx @0;\r\ny @1;\r\nz @2;\r\n}\r\n````\r\n\r\nAbove capnp is valid capnp definition. However, after compile to go, a/a.capnp.go doesn't import shared/shared.capnp.go so that it cannot find the SharedEnum. \r\n\r\nIs there any compile option or statement to solve this problem? \r\n\r\n"}}