And in case you want to actually marshal it into a struct, I recommend
giving JSON to Go a... go.
On Tuesday, 22 November 2016 20:48:49 UTC, vanmuld...@gmail.com wrote:
>
> I just started leaning Go and I've been stuck on this for a couple of days
>
> Running on an App Engine dev server
>
>
>
First of all, please NEVER ignore the returned errors!
Then, print out "doc" to be sure.
In the concrete case, let Results be []json.RawMessage, or simply marshal
into a map[string]interface{}.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.