Documentation
¶
Overview ¶
defer包裹调用 author: baoqiang time: 2019/3/13 上午11:28
recover author: baoqiang time: 2019/3/13 上午11:31
defer关闭文件 author: baoqiang time: 2019/3/13 上午11:21
递归visit节点 author: baoqiang time: 2019/3/5 上午11:54
函数多返回值 author: baoqiang time: 2019/3/12 下午8:23
广度优先遍历 author: baoqiang time: 2019/3/12 下午9:15
author: baoqiang time: 2019/3/12 下午9:10
打印节点信息 author: baoqiang time: 2019/3/5 下午12:27
函数作为参数传递,遍历网页节点 author: baoqiang time: 2019/3/12 下午8:43
乘方 author: baoqiang time: 2019/3/12 下午8:56
可变参数 author: baoqiang time: 2019/3/12 下午9:27
爬取网页的content-type author: baoqiang time: 2019/3/13 上午11:05
使用defer author: baoqiang time: 2019/3/13 上午11:12
recover特定的类型错误 author: baoqiang time: 2019/3/13 上午11:36
有向拓扑图 author: baoqiang time: 2019/3/12 下午9:00
defer记录函数时间 author: baoqiang time: 2019/3/13 上午11:16
等待server author: baoqiang time: 2019/3/12 下午8:34
Index ¶
- func Extract(url string) ([]string, error)
- func RunCrawl()
- func RunDefer()
- func RunFetch()
- func RunOutline()
- func RunOutline2()
- func RunRecover()
- func RunSquares()
- func RunSum()
- func RunTimeDefer()
- func RunTitle()
- func RunTitle2()
- func RunTitle3()
- func RunToposort()
- func RunVisit()
- func RunVisit2()
- func RunWaitfor()
- func WaitForServer(url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFetch ¶
func RunFetch()
./main https://golang.org/ https://golang.org/doc/gopher/frontpage.png
func RunOutline ¶
func RunOutline()
func RunOutline2 ¶
func RunOutline2()
func RunRecover ¶
func RunRecover()
func RunSquares ¶
func RunSquares()
func RunTimeDefer ¶
func RunTimeDefer()
func RunTitle ¶
func RunTitle()
The Go Programming Language submit search title: https://golang.org/doc/gopher/frontpage.png has type image/png, not text/html
func RunTitle2 ¶
func RunTitle2()
The Go Programming Language submit search title: https://golang.org/doc/gopher/frontpage.png has type image/png, not text/html
func RunTitle3 ¶
func RunTitle3()
title: multiple title elements title: https://golang.org/doc/gopher/frontpage.png has type image/png, not text/html
func RunToposort ¶
func RunToposort()
func RunWaitfor ¶
func RunWaitfor()
func WaitForServer ¶
Types ¶
This section is empty.