Nesting Structs

Last time I learned about how to use pointers in GO to pass strutcts to functions. Today, I figure out if there is anything I should know about nesting a struct within another struct. Read More…

Structs and Pointers


Last time I mentioned that GO passes parameters by value, so modifying a struct within a function takes extra work. If my structs are large, there may be memory pressure as a result of creating copies in functions. That's where passing a pointer to a struct can help. That's what I tackle this time. Read More…

This site does not track your information.