This might be the best way:
for i := 'a'; i <= 'z'; i++ {
fmt.Println(string(i))
}
Is there a better / idiomatic approach?
This might be the best way:
for i := 'a'; i <= 'z'; i++ {
fmt.Println(string(i))
}
Is there a better / idiomatic approach?
for _, c := range "abcdefghijklmnopqrstuvwxyz" {
fmt.Println(string(c))
}