Closed
Description
I was wondering if there is a technical reason to use slices of pointers (e.g., []*string
) rather than just slices (e.g., []string
). Passing around []*Type
feels a bit unnatural in Go and is forcing me to either propagate this typing convention or convert before AWS calls.
I understand that pointers to scalers are required scalers are not nilable, but I am not sure why individual elements of a slice need to be nilable.