[go-nuts] unable get the json response values through json.Unmarshal()
uot;:\"myn...@myname.com\",\"phone\":\"123456789\"}\n"}2021/10/03 23:34:35 {"content":"{\"id\":1,\"name\":\"My Name\",\"email\":\"myn...@myname.com\",\"phone\":\"123456789\&quo
[go-nuts] how to create array of structures instances for the nested structures
Hi all, it would be helpful for me if a small doubt of mine is resolved. I want to know how to create an array of structure instances for a nested structure. Let me write it type Strct1 struct { val1 int val2 int } type Strct2 struct { Namce string temp Strct1 } I want t