zero-knowledge

json/curl to go

The last week I found two nice tools, which can help when developing tools in Go.

The first one is json-to-go. It can take a json document and convert it into a go struct able to contain the content.

The second is curl-to-go, which takes a curl command with arguments and converts it into go code.

Both tools are pretty helpful when developing against foreign web APIs and they already helped me out. Many thanks to the author of both tools, Matt Holt.