package main import ( "fmt" ) func main() { b := true if b { fmt.Println("b is true!") } } ### To run, ### copy code to buffer ### cat > /tmp/if.go ### go run /tmp/if.go
Go Programming Main Page