Directories ¶
Path | Synopsis |
---|---|
Defer1 demonstrates a deferred call being invoked during a panic.
|
Defer1 demonstrates a deferred call being invoked during a panic. |
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
|
Defer2 demonstrates a deferred call to runtime.Stack during a panic. |
Fetch saves the contents of a URL into a local file.
|
Fetch saves the contents of a URL into a local file. |
Findlinks1 prints the links in an HTML document read from standard input.
|
Findlinks1 prints the links in an HTML document read from standard input. |
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
|
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it. |
Findlinks3 crawls the web, starting with the URLs on the command line.
|
Findlinks3 crawls the web, starting with the URLs on the command line. |
Package links provides a link-extraction function.
|
Package links provides a link-extraction function. |
Outline prints the outline of an HTML document tree.
|
Outline prints the outline of an HTML document tree. |
Outline prints the outline of an HTML document tree.
|
Outline prints the outline of an HTML document tree. |
The squares program demonstrates a function value with state.
|
The squares program demonstrates a function value with state. |
The sum program demonstrates a variadic function.
|
The sum program demonstrates a variadic function. |
Title1 prints the title of an HTML document specified by a URL.
|
Title1 prints the title of an HTML document specified by a URL. |
Title2 prints the title of an HTML document specified by a URL.
|
Title2 prints the title of an HTML document specified by a URL. |
Title3 prints the title of an HTML document specified by a URL.
|
Title3 prints the title of an HTML document specified by a URL. |
The toposort program prints the nodes of a DAG in topological order.
|
The toposort program prints the nodes of a DAG in topological order. |
The trace program uses defer to add entry/exit diagnostics to a function.
|
The trace program uses defer to add entry/exit diagnostics to a function. |
The wait program waits for an HTTP server to start responding.
|
The wait program waits for an HTTP server to start responding. |
Click to show internal directories.
Click to hide internal directories.