0
0
Fork 0

add post - curl/json to go

This commit is contained in:
Gibheer 2016-02-14 22:05:58 +01:00
parent ee7b22329b
commit 7d189ae8f9
1 changed files with 17 additions and 0 deletions

17
content/post/123.md Normal file
View File

@ -0,0 +1,17 @@
+++
title = "json/curl to go"
date = "2016-02-14T22:00:00+00:00"
author = "Gibheer"
draft = false
+++
The last week I found two nice tools, which can help when developing tools in Go.
The first one is [json-to-go](https://mholt.github.io/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](https://mholt.github.io/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](https://github.com/mholt).