range in struc array gokang code example Example: iterate over struct slice golang for i, x := range p.Fruits