go-in-action

module
v0.0.0-...-b94188f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: MIT

README

Go In Action 2nd Edition Code Repository

Hello, dear reader, and welcome to the repo!

This repo holds the code for Go In Action, Second Edition from Manning Publications (currently in MEAP).

Please report any bugs or sources of confusion in the Issues. If you find a good one before publication, I'll send you a special thank you!

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL