5 lines
108 B
Go
5 lines
108 B
Go
func printAll(values []int) {
|
|
for i, x := range values {
|
|
fmt.Printf("Item %d = %d\n", i, x)
|
|
}
|
|
}
|