more examples

This commit is contained in:
2021-09-07 20:21:03 +00:00
parent dbc1292105
commit bf872f0919
5 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package main
import "fmt"
func vals() (int, int) {
return 3,7
}
func main() {
a,b := vals()
fmt.Println(a)
fmt.Println(b)
_, c := vals()
fmt.Println(c)
}