{"action":"closed","issue":{"url":"https://api.github.com/repos/davidthomas426/goconsole/issues/2","labels_url":"https://api.github.com/repos/davidthomas426/goconsole/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/davidthomas426/goconsole/issues/2/comments","events_url":"https://api.github.com/repos/davidthomas426/goconsole/issues/2/events","html_url":"https://github.com/davidthomas426/goconsole/issues/2","id":33740934,"number":2,"title":"Import-specific generated code is too bloated (too many imports)","user":{"login":"davidthomas426","id":1478120,"avatar_url":"https://avatars.githubusercontent.com/u/1478120?v=3","gravatar_id":"","url":"https://api.github.com/users/davidthomas426","html_url":"https://github.com/davidthomas426","followers_url":"https://api.github.com/users/davidthomas426/followers","following_url":"https://api.github.com/users/davidthomas426/following{/other_user}","gists_url":"https://api.github.com/users/davidthomas426/gists{/gist_id}","starred_url":"https://api.github.com/users/davidthomas426/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidthomas426/subscriptions","organizations_url":"https://api.github.com/users/davidthomas426/orgs","repos_url":"https://api.github.com/users/davidthomas426/repos","events_url":"https://api.github.com/users/davidthomas426/events{/privacy}","received_events_url":"https://api.github.com/users/davidthomas426/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidthomas426/goconsole/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-17T22:22:06Z","updated_at":"2015-02-21T15:07:56Z","closed_at":"2015-02-21T15:07:56Z","body":"If I run `goconsole net/http`, the generated Go program imports not only the net/http package, but lots of its dependencies in order to set up the type map. With care, we should be able to avoid these transitive imports in the generated program which would, in general, decrease startup time."}}