{"action":"closed","issue":{"url":"https://api.github.com/repos/brydavis/grid/issues/2","repository_url":"https://api.github.com/repos/brydavis/grid","labels_url":"https://api.github.com/repos/brydavis/grid/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/brydavis/grid/issues/2/comments","events_url":"https://api.github.com/repos/brydavis/grid/issues/2/events","html_url":"https://github.com/brydavis/grid/issues/2","id":131177635,"number":2,"title":"unload.go","user":{"login":"brydavis","id":11343762,"avatar_url":"https://avatars.githubusercontent.com/u/11343762?v=3","gravatar_id":"","url":"https://api.github.com/users/brydavis","html_url":"https://github.com/brydavis","followers_url":"https://api.github.com/users/brydavis/followers","following_url":"https://api.github.com/users/brydavis/following{/other_user}","gists_url":"https://api.github.com/users/brydavis/gists{/gist_id}","starred_url":"https://api.github.com/users/brydavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brydavis/subscriptions","organizations_url":"https://api.github.com/users/brydavis/orgs","repos_url":"https://api.github.com/users/brydavis/repos","events_url":"https://api.github.com/users/brydavis/events{/privacy}","received_events_url":"https://api.github.com/users/brydavis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-03T22:42:23Z","updated_at":"2016-02-24T05:54:20Z","closed_at":"2016-02-24T05:54:20Z","body":"`p.Clean()` is still creating problems...\r\n\r\nAlso, please add `default` file format (i.e. a `txt` file):\r\n```\tdefault:\r\n\t\tfile := new(os.File)\r\n\t\tif _, err := os.Stat(fname); err == nil {\r\n\t\t\tfile, _ = os.OpenFile(fname, os.O_RDWR|os.O_APPEND, 0777)\r\n\t\t} else {\r\n\t\t\tfile, _ = os.Create(fname)\r\n\t\t}\r\n\r\n\t\tfile.Write([]byte(fmt.Sprintf(\"%s\", p)))\r\n```"}}