Directories ¶
Path | Synopsis |
---|---|
01_introducing_go
|
|
02_diving_into_go
|
|
03_fundamental_types
|
|
04_collection_types
|
|
07_errors
|
|
panic_recover/00_panic_example
This example illustrates how a panic unrolls the stack.
|
This example illustrates how a panic unrolls the stack. |
panic_recover/01_panic_nil_map
This example illustrates the panic resulting from the assignment to a nil map.
|
This example illustrates the panic resulting from the assignment to a nil map. |
panic_recover/02_incorrect_recover
This example illustrates the necessity of calling recover() in a deferred function.
|
This example illustrates the necessity of calling recover() in a deferred function. |
panic_recover/03_correct_recover
This example illustrates the use of a recover statement to capture a panic.
|
This example illustrates the use of a recover statement to capture a panic. |
catco
|
|
Package extra is where all of the fun goodies that weren't in the book will go.
|
Package extra is where all of the fun goodies that weren't in the book will go. |
internal
|
|
forbook
package forbook provides some simple packages to simulate randomness and other common things you might run into while programming, and to enhance readability of the code examples.
|
package forbook provides some simple packages to simulate randomness and other common things you might run into while programming, and to enhance readability of the code examples. |
Click to show internal directories.
Click to hide internal directories.