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

proxy.golang.org : github.com/davidmz/go-try : v0.1.0

Package try simplifies the error handling in waiting Go 2 error handling. It is not the perfect solution, and it is not recommended to use in the libraries, but it can help for the simple apps. In Go it is common to handle errors like this: It gets tedious when there are a lot of these checks. With the try package you can replace this code to:

Registry - Documentation - Download - JSON - codemeta.json
purl: pkg:golang/github.com/davidmz/go-try@v0.1.0
Published:
Indexed:

    Loading...
    Readme
    Loading...