添加06.2.md和相关的例子与问题解答

This commit is contained in:
eXthen
2013-07-25 18:44:41 +08:00
parent 4d1f776e82
commit b429798ed4
9 changed files with 381 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
package main
import "fmt"
func main() {
var i1 int
var f1 float32
i1, _, f1 = ThreeValues()
fmt.Printf("The int: %d, the float: %f \n", i1, f1)
}
func ThreeValues() (int, int, float32) {
return 5, 6, 7.5
}