if 和 else 分支結構在Go 中當然是直接了當。 package main. import "fmt". func main() {. 這裡是一個基本的例子。 if 7%2 == 0 { fmt.Println("7 is even") } else ...
確定! 回上一頁