less words
This commit is contained in:
parent
fdf2b6dbce
commit
614bccfeeb
@ -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)
|
||||
}
|
||||
|
@ -2,4 +2,3 @@ $ go run switch.go
|
||||
write 2 as two
|
||||
it's the weekend
|
||||
it's before noon
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user