mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
修正错误使用了中文引号 (#659)
This commit is contained in:
@@ -8,7 +8,7 @@ field or method next)** (译者注:n.next未定义(*nexter类型没有next
|
|||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
import (
|
import (
|
||||||
“fmt”
|
"fmt"
|
||||||
)
|
)
|
||||||
type nexter interface {
|
type nexter interface {
|
||||||
next() byte
|
next() byte
|
||||||
@@ -28,7 +28,7 @@ func nextFew2(n *nexter, num int) []byte {
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println(“Hello World!”)
|
fmt.Println("Hello World!")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -38,4 +38,4 @@ func main() {
|
|||||||
|
|
||||||
- [目录](directory.md)
|
- [目录](directory.md)
|
||||||
- 上一节:[不需要将一个指向切片的指针传递给函数](16.5.md)
|
- 上一节:[不需要将一个指向切片的指针传递给函数](16.5.md)
|
||||||
- 下一节:[使用值类型时误用指针](16.7.md)
|
- 下一节:[使用值类型时误用指针](16.7.md)
|
||||||
|
Reference in New Issue
Block a user