An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/pborman/check

Package check is designed for testing, including table drive tests, to check the value of a returned error. The return value of a check is either an empty string (they matched) or a string describing why the check failed. Errors can be checked against different types of values (see Error) depending on the use case. Example Usage: When a string is passed, check.Error normally just checks to see that error message contains the string, case sensitive. Strings cast to Case are checked case insensitive while Equal and CaseEqual require the entire error message to be matched either case sensitive or insensitive respectively.

Ecosystem
proxy.golang.org
Latest Release
v1.0.2
about 5 years ago
Versions
3
Dependent Packages
1
Dependent Repos
4
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/pborman/check
spec
License Apache-2.0
Namespace github.com/pborman
First Release over 5 years ago
Last Synced 25 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Dependent packages Top 5.8%
Dependent repos Top 2.5%