mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 05:33:04 +08:00
13 lines
157 B
Go
13 lines
157 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
bool1 := true
|
|
if bool1 {
|
|
fmt.Printf("The value is true\n")
|
|
} else {
|
|
fmt.Printf("The value is false\n")
|
|
}
|
|
}
|