{"action":"created","issue":{"url":"https://api.github.com/repos/wicast/xj2s/issues/1","labels_url":"https://api.github.com/repos/wicast/xj2s/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wicast/xj2s/issues/1/comments","events_url":"https://api.github.com/repos/wicast/xj2s/issues/1/events","html_url":"https://github.com/wicast/xj2s/issues/1","id":115423732,"number":1,"title":"xml2jsonstruct not working on Windows","user":{"login":"klauern","id":4735,"avatar_url":"https://avatars.githubusercontent.com/u/4735?v=3","gravatar_id":"","url":"https://api.github.com/users/klauern","html_url":"https://github.com/klauern","followers_url":"https://api.github.com/users/klauern/followers","following_url":"https://api.github.com/users/klauern/following{/other_user}","gists_url":"https://api.github.com/users/klauern/gists{/gist_id}","starred_url":"https://api.github.com/users/klauern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauern/subscriptions","organizations_url":"https://api.github.com/users/klauern/orgs","repos_url":"https://api.github.com/users/klauern/repos","events_url":"https://api.github.com/users/klauern/events{/privacy}","received_events_url":"https://api.github.com/users/klauern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wicast/xj2s/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T02:52:05Z","updated_at":"2015-11-06T08:22:12Z","closed_at":null,"body":"I get the following error when trying to run this:\r\n\r\n```powershell\r\nC:\\Users\\Me\r\nλ xmljson2struct.exe\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xc0000005 code=0x0 addr=0x30 pc=0x401c91]\r\n\r\ngoroutine 1 [running]:\r\nmain.main()\r\n        C:/Users/Me/dev/golang/src/github.com/wicast/xj2s/cmd/xmljson2struct/main.go:48 +0x9d1\r\n```\r\n`go version go1.5.1 windows/amd64`\r\n\r\nIt might have something to do with [this line](https://github.com/wicast/xj2s/blob/master/cmd/xmljson2struct/main.go#L48) using [`ModeCharDevice`](https://godoc.org/os#FileMode), but it's hard to tell.  I haven't used `os.Stat` before in my projects, either, so it could just as likely be that."},"comment":{"url":"https://api.github.com/repos/wicast/xj2s/issues/comments/154342366","html_url":"https://github.com/wicast/xj2s/issues/1#issuecomment-154342366","issue_url":"https://api.github.com/repos/wicast/xj2s/issues/1","id":154342366,"user":{"login":"wicast","id":2603937,"avatar_url":"https://avatars.githubusercontent.com/u/2603937?v=3","gravatar_id":"","url":"https://api.github.com/users/wicast","html_url":"https://github.com/wicast","followers_url":"https://api.github.com/users/wicast/followers","following_url":"https://api.github.com/users/wicast/following{/other_user}","gists_url":"https://api.github.com/users/wicast/gists{/gist_id}","starred_url":"https://api.github.com/users/wicast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wicast/subscriptions","organizations_url":"https://api.github.com/users/wicast/orgs","repos_url":"https://api.github.com/users/wicast/repos","events_url":"https://api.github.com/users/wicast/events{/privacy}","received_events_url":"https://api.github.com/users/wicast/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T08:22:12Z","updated_at":"2015-11-06T08:22:12Z","body":"Fixed,I forget windows can't use stdin for input."}}