Values in Golang

Go has various value types including strings, integers, floats, booleans, etc. Here are an example stolen from internet:

package main

import "fmt"

func main() {
  fmt.Println("go" + "lang")

  fmt.Println("4 + 18 =", 4 + 18)
  fmt.Println("20.3 / 4.2 =", 20.3 / 4.2)

  fmt.Println(true && false)
  fmt.Println(true || false)
  fmt.Println(!false)
}
Output:
golang
4 + 18 = 22
20.3 / 4.2 = 4.833333333333333
false
true
true