Plurrrr

Sat 19 Oct 2019

Mushrooms in a Garden

Today, on our way to the town center, I took several photos of mushrooms growing in a garden by the side of the road.

Mushrooms in a garden
Small groups of mushrooms growing in a garden.
Mushrooms in a garden
A group of mushrooms near a tree.

Working with Errors in Go 1.13

Go 1.13 introduces new features to the errors and fmt standard library packages to simplify working with errors that contain other errors. The most significant of these is a convention rather than a change: an error which contains another may implement an Unwrap method returning the underlying error. If e1.Unwrap() returns e2, then we say that e1 wraps e2, and that you can unwrap e1 to get e2.

Source: Working with Errors in Go 1.13, an article by Damien Neil and Jonathan Amsterdam.