Don't Panic: Catching Panics in Errgroup

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • errgroup

    Drop in replacement for errgroup that converts panics to errors (by StevenACoffman)

  • A co-worker of mine co-worker Ben Kraft, wrote some handy wrapper code around sync/errgroup to avoid that boilerplate (and required discipline). With his permission, I lightly modified it to lift it out of our private work repository for the more general Go community.

  • kratos

    Your ultimate Go microservices framework for the cloud-native era.

  • Kratos errgroup

  • 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
  • run

    A universal mechanism to manage goroutine lifecycles (by oklog)

  • There is an interesting discussion which has an alternative view that, with few exceptions, panics should crash your program. I'm ok with that in development and testing, but would rather sleep soundly at night.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts