On Sat, Aug 13, 2016 at 7:29 AM, Anmol Sethi <an...@aubble.com> 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?
Keyed fields are better than unkeyed fields since keyed fields are covered by the Go1 compatibility promise. Use unkeyed fields when you're feeling lazy. -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.