[go-nuts] Re: Confusion between Pointer or No Pointer for Nested array struct

2018-08-20 Thread R Sharma
Hi Tamás Gulácsi If my User struct has 40 fields, will the decision be still the same? I minified my `User` struct. It has 40 fields like "city,state,country, address,email,IP,ua,status,verified.etc.," Will still `Case B` is better? -- You received this message because you are

[go-nuts] Confusion between Pointer or No Pointer for Nested array struct

2018-08-19 Thread R Sharma
string Location loc } *Case A* - Using pointer for nested array struct type Games struct { ID string Owner []*User Player []*User } // and storing it as G:= Games{ ID: "1", Owner: []*User{ { ID: "2",