Résumé

While they are very convenient, I always found Go's range loops a bit mystifying. I'm not alone in this: Today's #golang gotcha: the two-value range over an array does a copy. Avoid by ranging over the pointer instead.https://t.co/SbK667osvA

Lire l'article complet