18 lines
665 B
Markdown
18 lines
665 B
Markdown
|
+++
|
||
|
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).
|