package main
import (
"fmt"
"strconv"
)
func logger(s string) {
fmt.Println(s)
}
func main() {
for i := 0; i < 10; i++ {
for j := 'A'; j < 'Z'; j++ {
logger(strconv.Itoa(i) + "-" + string(j))
if j == 'C' && i == 1 {
goto over
}
}
}
over:
logger("over")
}
|
请发表评论