I am trying to use context#BindJSON but it returns EOF. If I replace it with a JSON Decoder it works fine. A sample of the code: http://hastebin.com/torosarosi.go Anyone know as to why it may be returning EOF?
I am trying to use context#BindJSON but it returns EOF. If I replace it with a JSON Decoder it works fine.
A sample of the code:
http://hastebin.com/torosarosi.go
Anyone know as to why it may be returning EOF?