摘要:
示例代码:
package main import "fmt" func main() { switch a := 3; { case a >= 2: fmt.Println(">=2") fallthrough case a >= 3: fmt.Println(">=3") fallthrough
... 阅读全文
posted @ 2013-05-08 13:39 蝈蝈俊 阅读(2315) 评论(0) 推荐(0)
|
|
摘要:
示例代码:
package main import "fmt" func main() { switch a := 3; { case a >= 2: fmt.Println(">=2") fallthrough case a >= 3: fmt.Println(">=3") fallthrough
... 阅读全文
posted @ 2013-05-08 13:39 蝈蝈俊 阅读(2315) 评论(0) 推荐(0) |
|