{"action":"opened","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1758","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1758/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1758/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1758","id":95686316,"number":1758,"title":"Can't Use \"nil\" to Initialize a Variable Without an Explicit Type","user":{"login":"eugene-auduchinok","id":3923587,"avatar_url":"https://avatars.githubusercontent.com/u/3923587?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-auduchinok","html_url":"https://github.com/eugene-auduchinok","followers_url":"https://api.github.com/users/eugene-auduchinok/followers","following_url":"https://api.github.com/users/eugene-auduchinok/following{/other_user}","gists_url":"https://api.github.com/users/eugene-auduchinok/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-auduchinok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-auduchinok/subscriptions","organizations_url":"https://api.github.com/users/eugene-auduchinok/orgs","repos_url":"https://api.github.com/users/eugene-auduchinok/repos","events_url":"https://api.github.com/users/eugene-auduchinok/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-auduchinok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-17T15:56:53Z","updated_at":"2015-07-17T15:56:53Z","closed_at":null,"body":"The \"nil\" identifier can be used as the \"zero value\" for interfaces, functions, pointers, maps, slices, and channels. If you don't specify the variable type the compiler will fail to compile your code because it can't guess the type.\r\n```go\r\npackage main\r\n\r\nfunc main() {  \r\n    var x = nil //error\r\n\r\n    _ = x\r\n}\r\n```"}}