mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 01:55:35 +08:00
update book code
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user