package main
|
|
import "fmt"
|
|
|
func main() {
|
x := "Hello var"
fmt.Println(x)
}
|
$ go run short-declarations.go
Hello var
|
Exemple suivant: For.