Merge pull request #17 from BrandonY/patch-1

Fix misspelled "declare"
This commit is contained in:
Mark McGranaghan 2012-10-12 02:31:14 -07:00
commit 68447b15a6

View File

@ -24,7 +24,7 @@ func main() {
// The builtin `len` returns the length of an array. // The builtin `len` returns the length of an array.
fmt.Println("len:", len(a)) fmt.Println("len:", len(a))
// Use this syntax to decalare and initalize an array // Use this syntax to declare and initalize an array
// in one line. // in one line.
b := [5]int{1, 2, 3, 4, 5} b := [5]int{1, 2, 3, 4, 5}
fmt.Println("dcl:", b) fmt.Println("dcl:", b)