On Fri, Aug 12, 2016 at 2:29 PM, Anmol Sethi <[email protected]> wrote:
> Keyed fields seem to be always better than unkeyed fields in a composite
> literal.
> Under what circumstances would I want to use unkeyed fields?
Keys aren't always useful, e.g.,
var colors = [...]string{"red", "blue", "green", "yellow"}
Ian
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.