Go Error

Open-source Go projects categorized as Error

Top 17 Go Error Projects

  • errcheck

    errcheck checks that you checked errors.

  • Project mention: Linter to check for errors ignored with _ | /r/golang | 2023-11-05

    In our codebase I noticed a few cases where people ignored errors returned from functions by assigning them to _, ie result, _ := foo(). The errcheck linter doesn't seem to catch this, does anyone know of a linter that does?

  • emperror

    The Emperor takes care of all errors personally

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • wrapcheck

    A Go linter to check that errors from external packages are wrapped

  • Project mention: Structured Logging with Slog | news.ycombinator.com | 2023-08-22

    This is such an infuriating problem. I'm convinced I'm using Go wrong, because I simply can't understand how this doesn't make it a toy language. Why the $expletive am I wasting 20-30 and more minutes per week of my life looking for the source of an error!?

    Have you seen https://github.com/tomarrell/wrapcheck? It's a linter than does a fairly good job of warning when an error originates from an external package but hasn't been wrapped in your codebase to make it unique or stacktraced. It comes with https://github.com/golangci/golangci-lint and can even be made part of your in-editor LSP diagnostics.

    But still, it's not perfect. And so I remain convinced that I'm misunderstanding something fundamental about the language because not being able to consistently find the source of an error is such an egregious failing for a programming language.

  • slog-multi

    🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

  • doctorgpt

    DoctorGPT brings GPT into production for application log error diagnosing! (by ingyamilmolinar)

  • Project mention: April 2023 | /r/dailyainews | 2023-06-02
  • oops

    🔥 Error handling library with context, assertion, stack trace and source fragments (by samber)

  • slog-formatter

    🚨 slog: Attribute formatting

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • slog-gin

    🚨 Gin middleware for slog logger

  • errors

    A simple error library that supports error stacks, error codes, and error chains. (by morrisxyang)

  • Project mention: A simple friendly error library that supports error codes, error stacks, and error chains. | /r/golang | 2023-07-10
  • err2

    Automatic and modern error handling package for Go

  • Project mention: errors alternatives - tracerr and err2 | libhunt.com/r/difof/errors | 2023-12-06
  • problem-details

    ProblemDetails is a Error Handler base on [RFC 7807] standard to map our error to standardized error payload to client.

  • slog-sentry

    🚨 slog: Sentry handler

  • valor

    Go option and result types that optionally contain a value (by phelmkamp)

  • slog-parquet

    🚨 slog: Parquet handler + Object Storage

  • Project mention: All you need is Wide Events, not "Metrics, Logs and Traces" | news.ycombinator.com | 2024-02-27

    There seems to be somebody trying to do the second idea for Go's slog package: https://github.com/samber/slog-parquet

  • slog-datadog

    🚨 slog: Datadog handler

  • uhoh

    Golang advanced error usage with stack tracing

  • errdetail

    Wrap multiple errors in one Go error type.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go Error related posts

Index

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

Project Stars
1 errcheck 2,281
2 emperror 327
3 wrapcheck 279
4 slog-multi 243
5 doctorgpt 196
6 oops 167
7 slog-formatter 85
8 slog-gin 71
9 errors 55
10 err2 49
11 problem-details 47
12 slog-sentry 31
13 valor 16
14 slog-parquet 9
15 slog-datadog 7
16 uhoh 4
17 errdetail 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com