Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Short var delcaration in Go

Variables can be declared in go lang with var keyword, but := operator is equivalent short declaration notation. In the example below both declares and assigns the number.

func main() {
    var firstNumber = 10
    anotherNumber := 20
    println(firstNumber)
    println(anotherNumber)
}