more consistent case

This commit is contained in:
Mark McGranaghan
2012-10-17 17:22:24 -07:00
parent 5b906cd049
commit fdf2b6dbce
8 changed files with 18 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ import "fmt"
func main() {
// `var` declares 1 or more variables.
var a string = "Initial"
var a string = "initial"
fmt.Println(a)
// You can declare multiple variables at once.
@@ -29,6 +29,6 @@ func main() {
// The `:=` syntax is shorthand for declaring and
// initializing a variable, e.g. for
// `var f string = "Short"` in this case.
f := "Short"
f := "short"
fmt.Println(f)
}

View File

@@ -1,6 +1,6 @@
$ go run variables.go
Initial
initial
1 2
true
0
Short
short