Go Error Handling

Open-source Go projects categorized as Error Handling | Edit details

Top 12 Go Error Handling Projects

  • validator

    :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

    Project mention: Pydantic | news.ycombinator.com | 2022-01-22

    A different language, most likely. I'd use Python for this if the work being done isn't too CPU-intensive and I can afford to make big tradeoffs.

    If you want to do data validation like this but for something with better performance while still retaining the benefits of a high-level GC'd language, then I'd try something like https://github.com/go-playground/validator for Go.

  • eris

    eris provides a better way to handle, trace, and log errors in Go 🎆 (by rotisserie)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • errorx

    A comprehensive error handling library for Go

    Project mention: Error handling in Go HTTP applications | reddit.com/r/golang | 2021-05-17
  • tracerr

    Golang errors with stack trace and source fragments.

  • errlog

    Reduce debugging time while programming Go. Use static and stack-trace analysis to determine which func call causes the error.

  • emperror

    The Emperor takes care of all errors personally

    Project mention: Comparison golang stacktrace error library output | dev.to | 2021-03-24

    emperror

  • errors

    A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types. (by bnkamalesh)

    Project mention: Defining HTTP Status code from error types | reddit.com/r/golang | 2021-03-26
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • Falcon

    A Simple Yet Highly Powerful Package For Error Handling (by ThundR67)

  • pears-go

    harvest Go errors with ease

    Project mention: pears: a package for easily handling panic recovery and collecting errors from worker routines. | reddit.com/r/golang | 2021-04-23

    What this appears to actually do is going to be fairly divergent from what people expect here. It sounds like you've got an errgroup alternative, but it requires Python, seems to have strong opinions about a development environment, and so on. The farther I dug into this the less I understood what it was doing.

  • 🎚Shift

    🎚Shift is an optioned circuit breaker implementation

  • bugsnag

    Well-documented, maintainable, idiomatic, opinionated, and *unofficial* rewrite of the Bugsnag Go notifier

    Project mention: Explanation of context in go? | reddit.com/r/golang | 2021-11-08

    If I may be so bold to plug my own work. This package uses context's value storage feature quite a bit (see context.go) to offer APIs that can add custom data for diagnostics and observability purposes. The values stored in the context are used not for application logic, but to potentially attach to an error report. Particularly useful in middleware handlers.

  • go-ez

    An experimental Go package that allows you to write less error handling and makes the logic look simpler and clearer.

    Project mention: go-ez: an experimental package that allows you to write less error handling and makes the logic look simpler and clearer | reddit.com/r/golang | 2022-01-11
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-22.

Go Error Handling related posts

Index

What are some of the best open-source Error Handling projects in Go? This list will help you:

Project Stars
1 validator 9,527
2 eris 901
3 errorx 798
4 tracerr 697
5 errlog 400
6 emperror 238
7 errors 26
8 Falcon 7
9 pears-go 7
10 🎚Shift 6
11 bugsnag 2
12 go-ez 1
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com