News for hackers. Stuff that matters.
Re:Convert curl commands to Go code by travjones on Wednesday February 10, 2016 @03:47PM (#11075851)
Great work, mholt!

He also wrote json-to-go[0]--copy/paste JSON and it generates a matching Go struct. This ends up being extremely useful and saves a lot of time for extensive JSON responses.

[0]: https://mholt.github.io/json-to-go/

Re:Convert curl commands to Go code by kuschku on Wednesday February 10, 2016 @04:16PM (#11076044)
This looks actually awesome, I might end up using this to then throw some regexp’s at the result to convert it into usable Java.

I already have a small python script that compiles C++ headers into Java interfaces (for services with RPC sync).

Re:Convert curl commands to Go code by pram on Wednesday February 10, 2016 @06:22PM (#11077023)
I use this all the time! Thanks for your work op
Re:Convert curl commands to Go code by mholt on Wednesday February 10, 2016 @11:45PM (#11078293)
Thank you :) Glad to know it helps more than just me.