mv to source

This commit is contained in:
Mark McGranaghan
2012-09-29 13:21:57 -07:00
parent c90760c285
commit 7307c6bb0b
118 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// ## Variables
package main
import "fmt"
func main() {
// `var` declares 1 or more variables. The type comes
// at the end.
var x string = "Hello world"
fmt.Println(x)
// An example of declaring multiple `int` variables.
var a, b int = 1, 2
fmt.Println(a, b)
}

View File

@@ -0,0 +1 @@
go run variables.go