less words

This commit is contained in:
Mark McGranaghan 2012-10-17 17:25:19 -07:00
parent fdf2b6dbce
commit 614bccfeeb
2 changed files with 2 additions and 3 deletions

View File

@ -20,8 +20,8 @@ func main() {
fmt.Println(a)
fmt.Println(b)
// In cases were you only want a subset of the
// returned values, use the blank identifier `_`.
// If you only want a subset of the returned values,
// use the blank identifier `_`.
_, c := vals()
fmt.Println(c)
}

View File

@ -2,4 +2,3 @@ $ go run switch.go
write 2 as two
it's the weekend
it's before noon