go-errortree:Go库用于处理错误组织成一颗树
go-errortree:Go库用于处理错误组织成一颗树
Go 其它杂项
共59Star
详细介绍
go-errortree
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.