the-way-to-go_ZH_CN icon indicating copy to clipboard operation
the-way-to-go_ZH_CN copied to clipboard

《The Way to Go》中文译本,中文正式名《Go 入门指南》

Results 21 the-way-to-go_ZH_CN issues
Sort by recently updated
recently updated
newest added

修正程序结果与“练习 5.7 Fizz-Buzz 问题”描述不一致的问题 > 写一个从 1 打印到 100 的程序,但是每当遇到 3 的倍数时,不打印相应的数字,但打印一次 "Fizz"。遇到 5 的倍数时,打印 Buzz 而不是相应的数字。对于同时为 3 和 5 的倍数的数,打印 FizzBuzz(提示:使用 switch 语句)。

> 但是这没关系:对于类型 `T`,如果在 `\*T` 上存在方法 `Meth()`,并且 `t` 是这个类型的变量,那么 `t.Meth()` 会被自动转换为 `(&t).Meth()`。 第262行,这里的的`\*T`看起来字符`\`是多余的?

提供一个PDF版本的书籍。

The link of `array_value.go`, `for_array.go` and `fibonacci_array.go` is nonexistent, the 'examples' in these links should be 'exercises'.

fmt.Printf("%q: {%d,%d}\n", q.Name, q.X, q.Y) output: "Pythagoras": {824633820272,824633820276} should add * * ?

var content is unused