This commit is contained in:
Shuanglei Tao
2014-12-05 14:09:47 +08:00
parent c83a65bdc0
commit 3754bcf378

View File

@@ -100,7 +100,7 @@ Example 5.3 [string_conversion2.go](examples/chapter_5/string_conversion2.go)
**注意事项**
如果您下面一样,没有为多返回值的函数准备足够的变量来存放结果:
如果您下面一样,没有为多返回值的函数准备足够的变量来存放结果:
func mySqrt(f float64) (v float64, ok bool) {
if f < 0 { return } // error case