github.com/speijnik/go-errortree
provides functionality for working
with errors structured as a tree.
Structuring errors in such a way may be desired when, for example, validating structured input such as a configuration file with multiple sections.
A corresponding example can be found in the example_config_validation_test.go file.
The code is released under the terms of the MIT license.