more
This commit is contained in:
parent
0f5553f15d
commit
ce6b86fccd
13
21-returns.go
Normal file
13
21-returns.go
Normal file
@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func vals() (int, int) {
|
||||
return 3, 7
|
||||
}
|
||||
|
||||
func main() {
|
||||
x, y := vals()
|
||||
fmt.Println(x)
|
||||
fmt.Println(y)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user