mirror of
https://github.com/MADTeacher/go_basics.git
synced 2025-11-23 21:34:47 +02:00
14 lines
160 B
Go
14 lines
160 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
if value := 15; value > 30 {
|
|
fmt.Println("30 < value")
|
|
} else {
|
|
fmt.Println("30 >= value")
|
|
}
|
|
}
|
|
|
|
// 30 >= value
|