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

Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/mitranim/try

Shorter error handling in Go. Supports two styles: * Like the rejected "try" proposal (https://golang.org/design/32437-try-builtin). * Exception-based. Uses a combination of `defer` and panics to make code SIGNIFICANTLY shorter, at an acceptable runtime cost. Automatically ensures stacktraces via "github.com/pkg/errors". You can choose to keep `error` in signatures and use explicit "try", or drop `error` from signatures and use exceptions. See `readme.md` and examples.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mitranim/try
Keywords: error , error-handling , errors , exceptions , go , golang
License: Unlicense
Latest release: almost 4 years ago
First release: over 4 years ago
Namespace: github.com/mitranim
Dependent repositories: 1
Stars: 4 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

    Loading...
    Readme
    Loading...