Go Programming Language Cookbook/Incrementing a counter

Incrementing a counterEdit

 i += 1;  /* i = i + 1;  */
 i++;     /* same result */