I'm new to golang and learning how dereferencing works in nested struct types.
When I searched for nested structs normally they would suggest the method suggested by @OneOfOne in How to initialize a nested struct?
However while reading the codebase at work i noticed the team also uses nested pointers. I'm confused when I should use this. ie. nested struct req Person vs a nested pointer req *Person?
example
- Person - type Person struct { Name string Age int8 }
- args - type args struct { req *Person }
 
     
    