variables
Gobeginnercode
var name string = "Alice"
var age int = 30
active := true
var x, y = 1, 2
fmt.Println(name, age, active, x, y)
Click to start typing
We use cookies for authentication (required), preferences, analytics and marketing. See our Cookie Policy.