{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-go/issues/81","repository_url":"https://api.github.com/repos/atom/language-go","labels_url":"https://api.github.com/repos/atom/language-go/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-go/issues/81/comments","events_url":"https://api.github.com/repos/atom/language-go/issues/81/events","html_url":"https://github.com/atom/language-go/issues/81","id":126967393,"number":81,"title":"main package","user":{"login":"patbaker82","id":509651,"avatar_url":"https://avatars.githubusercontent.com/u/509651?v=3","gravatar_id":"","url":"https://api.github.com/users/patbaker82","html_url":"https://github.com/patbaker82","followers_url":"https://api.github.com/users/patbaker82/followers","following_url":"https://api.github.com/users/patbaker82/following{/other_user}","gists_url":"https://api.github.com/users/patbaker82/gists{/gist_id}","starred_url":"https://api.github.com/users/patbaker82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patbaker82/subscriptions","organizations_url":"https://api.github.com/users/patbaker82/orgs","repos_url":"https://api.github.com/users/patbaker82/repos","events_url":"https://api.github.com/users/patbaker82/events{/privacy}","received_events_url":"https://api.github.com/users/patbaker82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-15T22:03:37Z","updated_at":"2016-04-08T12:10:36Z","closed_at":null,"body":"Small nitpick.  Anytime creating `package main` I'm always hit with the `main` autocomplete\r\n\r\nUsually it turns out like this:\r\n\r\n```go\r\npackage func main() { \r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/atom/language-go/issues/comments/207403485","html_url":"https://github.com/atom/language-go/issues/81#issuecomment-207403485","issue_url":"https://api.github.com/repos/atom/language-go/issues/81","id":207403485,"user":{"login":"zmb3","id":7527103,"avatar_url":"https://avatars.githubusercontent.com/u/7527103?v=3","gravatar_id":"","url":"https://api.github.com/users/zmb3","html_url":"https://github.com/zmb3","followers_url":"https://api.github.com/users/zmb3/followers","following_url":"https://api.github.com/users/zmb3/following{/other_user}","gists_url":"https://api.github.com/users/zmb3/gists{/gist_id}","starred_url":"https://api.github.com/users/zmb3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmb3/subscriptions","organizations_url":"https://api.github.com/users/zmb3/orgs","repos_url":"https://api.github.com/users/zmb3/repos","events_url":"https://api.github.com/users/zmb3/events{/privacy}","received_events_url":"https://api.github.com/users/zmb3/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T12:10:36Z","updated_at":"2016-04-08T12:10:36Z","body":"I agree with just removing main as a snippet.  Every time I start a new app this bytes me not once but twice.\r\n\r\nI type `package main` which gets turned into\r\n\r\n```\r\npackage func main() {\r\n\r\n}\r\n```\r\n\r\nAfter I fix that, I type `func main`, which gets turned into \r\n\r\n```\r\nfunc func main() {\r\n\r\n}\r\n```\r\n\r\nIt would be great if snippets could be suppressed when `main` is already preceded by `package` or `func` (in this case you're already 90% of the way there and the snippet causes more harm than good), but if this isn't possible just removing the snippet would sure make things easier for me."}}