Merge pull request #9 from unbracketed/patch-2

Fixes typo of 'fmt'
This commit is contained in:
Mark McGranaghan 2012-10-11 10:56:41 -07:00
commit 4b0d0453d9

View File

@ -13,7 +13,7 @@ func main() {
// the builtin `make`. Here we make a slice of `int`s // the builtin `make`. Here we make a slice of `int`s
// of length `5` (initially empty-valued). // of length `5` (initially empty-valued).
s := make([]int, 5) s := make([]int, 5)
mt.Println("emp:", s) fmt.Println("emp:", s)
// We can set and get just like with arrays. // We can set and get just like with arrays.
s[4] = 100 s[4] = 100