One nit:

``go
if i == 0 {
  continue
}
``

Keep the main work in the overall block.