MDobak / go-xerrors
The go-xerrors is an idiomatic and lightweight package that provides a set of functions to make working with errors easier.
☆62Updated 2 years ago
Alternatives and similar repositories for go-xerrors:
Users that are interested in go-xerrors are comparing it to the libraries listed below
- Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically …☆74Updated this week
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.☆175Updated last year
- 🪵 Ensure consistent code style when using log/slog☆171Updated last week
- AMQP library to publish and consume events☆56Updated 2 weeks ago
- 🚨 slog: Attribute formatting☆166Updated last week
- 🚨 Chi middleware for slog logger☆69Updated 2 weeks ago
- Transactor is an injectable type making DB transactions seamless.☆132Updated this week
- An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.☆109Updated last week
- 🚨 net/http middleware for slog logger☆66Updated last month
- The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).☆313Updated this week
- checks usage of OpenTelemetry/Census spans☆80Updated last week
- An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a value☆114Updated this week
- Optional values for Go☆103Updated 3 months ago
- A zero-dependency generic in-memory cache Go library☆123Updated 3 months ago
- Naive code generator that creates mock implementation using testify.mock☆208Updated 2 months ago
- Bridge between Go testing.T and slog.☆70Updated last year
- OpenTelemetry Tracing instrumentation for PostgreSQL☆127Updated 2 months ago
- A modern generic testing assertions library for Go☆184Updated last month
- Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.☆125Updated 2 months ago
- Automatic test runs for Go projects☆139Updated last year
- "CLI Mate" autogenerates CLIs from structs / functions (nested subcommands, global / local flags, help generation, typo suggestions, shel…☆158Updated this week
- A CLI tool and GitHub Action to post Go code coverage reports as comment to your pull requests.☆82Updated 4 months ago
- Elegant middleware functions for your HTTP clients.☆102Updated 2 years ago
- 🚨 slog sampling: drop repetitive log records☆76Updated 2 weeks ago
- Cookies, but with structs, for happiness.☆111Updated 2 weeks ago
- ☆58Updated last year
- A robust, dependency-free go library that provides simple, thin, and user-friendly pub-sub kind of in-process event system for your Go ap…☆105Updated 8 months ago
- Package pgerrcode contains constants for PostgreSQL error codes.☆174Updated last year
- Type Safe Enum generator for Go☆234Updated 11 months ago
- Embedded Swagger UI for Go☆71Updated last week