mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-06 07:32:07 +00:00
修正半角标点符号
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
|
||||
<u><i>gopl.io/ch5/outline2</i></u>
|
||||
```Go
|
||||
// forEachNode针对每个结点x,都会调用pre(x)和post(x)。
|
||||
// forEachNode针对每个结点x,都会调用pre(x)和post(x)。
|
||||
// pre和post都是可选的。
|
||||
// 遍历孩子结点之前,pre被调用
|
||||
// 遍历孩子结点之前,pre被调用
|
||||
// 遍历孩子结点之后,post被调用
|
||||
func forEachNode(n *html.Node, pre, post func(n *html.Node)) {
|
||||
if pre != nil {
|
||||
|
Reference in New Issue
Block a user