9951 explained code solutions for 126 technologies


golangHow to use if


package main

func main() {
  x := 5
  if x > 0 {
    print("here")
  }
}ctrl + c
package main

default package declaration

func main() {

declare main function that will be launched automatically

if

start if block with condition to check