wrote:
> On Tue, 7 Mar 2017 15:42:11 +0530
> Rejoy Nair wrote:
>
> > Thanks a lot!. Your answers have been helpful. I was also provided
> > with a very good solution from another forum that I 'll post that
> > here for the benefit for anybody who '
Thanks a lot!. Your answers have been helpful. I was also provided with a
very good solution from another forum that I 'll post that here for the
benefit for anybody who 'd come across this post. Its on the lines of what
you 'd suggested. Till then I was actually beginning to think that this
wasn'
Yes, there could be ways to do it. I could have used Javascript to access
the JSON data values. But couldn't get that to work either. So the easier
thing for me to do was to unmarshal the string again into a
map([string]interface{}) type which is what I finally did to get the code
to work.
Thanks f
b 2017 17:48:18 +0530
> Rejoy Nair wrote:
>
> > > > I am trying to pass a slice of data to a struct field . The field
> > > > has a type of another struct. I get blank values in the output.
> > > >
> > > > Here is the code: https://play.golang.
Thanks!. thats what I was looking for.
I had tried using the assignment Dt.P = Pr before the unmarshalling of the
JSON to the variable pdata and it would not work.
On Fri, Feb 3, 2017 at 5:18 PM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:
> On Fri, 3 Feb 2017 03:32:00 -0800 (