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(a)
fmt.Println(b) fmt.Println(b)
// In cases were you only want a subset of the // If you only want a subset of the returned values,
// returned values, use the blank identifier `_`. // use the blank identifier `_`.
_, c := vals() _, c := vals()
fmt.Println(c) fmt.Println(c)
} }

View File

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