go-playground/da_tour/datour/variables-with-initializers.go

11 lines
162 B
Go

package datour
import "fmt"
var i, j = 1, 2
func VariablesWithInitializers() {
var c, python, java = true, false, "no!"
fmt.Println(i, j, c, python, java)
}