mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-25 14:28:58 +00:00
commit
f5a329e8cf
@ -37,7 +37,7 @@ func Parse(r io.Reader) (*Node, error)
|
|||||||
|
|
||||||
main函数解析HTML标准输入,通过递归函数visit获得links(链接),并打印出这些links:
|
main函数解析HTML标准输入,通过递归函数visit获得links(链接),并打印出这些links:
|
||||||
|
|
||||||
<u></i>gopl.io/ch5/findlinks1</i></u>
|
<u><i>gopl.io/ch5/findlinks1</i></u>
|
||||||
```Go
|
```Go
|
||||||
// Findlinks1 prints the links in an HTML document read from standard input.
|
// Findlinks1 prints the links in an HTML document read from standard input.
|
||||||
package main
|
package main
|
||||||
|
Loading…
Reference in New Issue
Block a user