Hey,
Thanks allot, that fixed the issue and I really appreciate it.
On Wed, Sep 26, 2018 at 6:43 PM wrote:
> Two things:
>
> 1) Capitalize users inside allUsers so it can be populated via reflection
> 2) Use an intermediary type to allow for that slice inside slice
>
> https://play.golang.org/p
Two things:
1) Capitalize users inside allUsers so it can be populated via reflection
2) Use an intermediary type to allow for that slice inside slice
https://play.golang.org/p/RvW7PMSOZlq
On Wednesday, 26 September 2018 10:10:41 UTC-4, Mudasir Mirza wrote:
>
> Also as per the API documentation
Also as per the API documentation of the vendor, I am suppose to get a
response in format
ListUserResponse {
users (Array[V1User], optional),
_selfUrl (string, optional)
}
On Wed, Sep 26, 2018 at 6:03 PM Mudasir Mirza
wrote:
> Hi Steven,
>
> Thanks for your prompt response. I know that, but I c
Hi Steven,
Thanks for your prompt response. I know that, but I can not figure out how
to define that in my struct :(
On Wed, Sep 26, 2018 at 5:55 PM Steven Hartland
wrote:
> If you look closely they have a strange structure:
> "users": [*[*{...},{...}*]*]
>
> You've created:
> "users":[{...},{
If you look closely they have a strange structure:
"users": [*[*{...},{...}*]*]
You've created:
"users":[{...},{...}]
On 26/09/2018 14:43, 'Mudasir Mirza' via golang-nuts wrote:
Hey guys,
I am fairly new to GoLang, still learning.
I am trying to working on a small utility, which fetches deta
Hey guys,
I am fairly new to GoLang, still learning.
I am trying to working on a small utility, which fetches details from a
third party.
As per their documentation, I will get response something like
{
"users": [
[
{
"firstName": "string ",
"lastName": "string",