{"action":"opened","issue":{"url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/764","repository_url":"https://api.github.com/repos/joefitzgerald/go-plus","labels_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/764/comments","events_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/764/events","html_url":"https://github.com/joefitzgerald/go-plus/issues/764","id":312152803,"number":764,"title":"Run format tool on save deletes 'import' command","user":{"login":"CryptoD","id":25362387,"avatar_url":"https://avatars1.githubusercontent.com/u/25362387?v=4","gravatar_id":"","url":"https://api.github.com/users/CryptoD","html_url":"https://github.com/CryptoD","followers_url":"https://api.github.com/users/CryptoD/followers","following_url":"https://api.github.com/users/CryptoD/following{/other_user}","gists_url":"https://api.github.com/users/CryptoD/gists{/gist_id}","starred_url":"https://api.github.com/users/CryptoD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryptoD/subscriptions","organizations_url":"https://api.github.com/users/CryptoD/orgs","repos_url":"https://api.github.com/users/CryptoD/repos","events_url":"https://api.github.com/users/CryptoD/events{/privacy}","received_events_url":"https://api.github.com/users/CryptoD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-07T00:08:06Z","updated_at":"2018-04-07T00:08:06Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nWhen \"Run format tool on save\" is on line of code is being deleted:\r\n>package main\r\n>import \"fmt\"\r\n\r\nbecomes:\r\n>package main\r\n\r\nAtom deletes the second line but leaves \"package main\" intact. \"func main\" and others are also intact. It seems that only 'import' command seems to be a problem.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Open atom with go-plus on\r\n2. Start a new file and begin coding\r\n\r\n### Expected Behavior\r\n\r\nI'm able to continue typing without my text being deleted\r\n\r\n### Actual Behavior\r\n\r\nLine:\r\n> import \"fmt\"\r\nis being deleted.\r\n"}}
{"actor":{"display_login":"CryptoD"}}