for, range Go의 유일한 루프가 for다 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 package main import ( "fmt" ) func superAdd(numbers ...int) int { total := 0 for index, number := range numbers { total += number fmt.Println("index: ", index, ", number: ", number) } return total } func main() { result := superAdd(1, 2, 3, 4, 5, 6) fmt.Println(result) } http://colorscripter.com/info#e" target="_bl..