Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

if statements in go

a := 4
b := 6
if a + b == 10 {
  fmt.Println("a + b is equal to 10!")
} else {
  fmt.Println("a + b does not equal 10...")
}
 
PREVIOUS NEXT
Tagged: #statements
ADD COMMENT
Topic
Name
2+4 =