Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically read any custom context values, such as OpenTelemetry TraceID.
β187Apr 8, 2026Updated last week
Alternatives and similar repositories for slog-context
Users that are interested in slog-context are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- πͺ΅ Ensure consistent code style when using log/slogβ244Mar 25, 2026Updated 3 weeks ago
- A human-friendly (but still largely structured) slog.Handlerβ13Feb 17, 2026Updated last month
- TUI for managing golang-migrate migrationsβ16Jun 6, 2024Updated last year
- π¨ slog: Attribute formattingβ216Apr 1, 2026Updated 2 weeks ago
- A linter for logr,klog,zap that can also works with golangci-lint as a pluginβ17Apr 10, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial β’ AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- The go-xerrors is an idiomatic and lightweight package that provides a set of functions to make working with errors easier.β79Aug 23, 2025Updated 7 months ago
- Type safe enums for Go without code generation or reflectionβ454Aug 17, 2025Updated 7 months ago
- Fast and customizable object pool, ideal for workloads that want to create less memory.β33Mar 28, 2026Updated 2 weeks ago
- The Golang linter that checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error` or `Errors`.β26Feb 1, 2026Updated 2 months ago
- π slog.Handler that writes tinted (colorized) logsβ1,269Feb 11, 2026Updated 2 months ago
- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performantβ1,247Apr 4, 2025Updated last year
- Fence-based CAS cache for Go with read-time validation, validated batch entries, pluggable providers/codecs and shared version state.β63Apr 2, 2026Updated 2 weeks ago
- Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.β200Jul 8, 2025Updated 9 months ago
- π Enforce field tags in (un)marshaled structsβ40Jan 19, 2026Updated 2 months ago
- Serverless GPU API endpoints on Runpod - Bonus Credits β’ AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Low-level Go interface to SQLite 3 using cgoβ30Feb 14, 2026Updated 2 months ago
- In memory cache with sieve eviction algorithm in pure Go.β60Mar 27, 2026Updated 2 weeks ago
- β‘ VSCode extension to make import/installing Go Packages easier and faster.β14May 4, 2025Updated 11 months ago
- Dev-time observability tool for Go programs. Search logs, monitor goroutines, and track variables.β208Nov 18, 2025Updated 4 months ago
- π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...β616Apr 2, 2026Updated 2 weeks ago
- A tool for monitoring Go's finalizer routine responsivenessβ37Jul 19, 2025Updated 8 months ago
- Go module for fetching embeddings from embeddings providersβ55Jul 20, 2025Updated 8 months ago
- β15Dec 7, 2022Updated 3 years ago
- a slog handler for testing that code logs expected resultsβ23Aug 8, 2024Updated last year
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.β309Jun 14, 2025Updated 10 months ago
- Generate deterministic semantic fingerprints for Go functions. Detect xz-style backdoors and verify semantic equivalence using Static Sinβ¦β33Mar 19, 2026Updated 3 weeks ago
- A zero-allocation debouncerβ37Jun 21, 2025Updated 9 months ago
- A minimal but powerful cli library for Goβ46Jan 28, 2026Updated 2 months ago
- Go Linter π§ (available in golangci-lint) that checks the order of methods and constructorsβ18Apr 1, 2026Updated 2 weeks ago
- Go Transactional Outbox Libraryβ17Feb 10, 2026Updated 2 months ago
- A modern, generics-first fluent HTTP client for Go - built on req, designed for ergonomic, type-safe APIs with powerful defaults and escaβ¦β97Mar 8, 2026Updated last month
- π¦ Rust-like `println!` for Go with Superpowers πβ16Jan 18, 2025Updated last year
- Live reload for Go and other languagesβ24Dec 16, 2025Updated 4 months ago
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Framework for pipeline execution with structured parallelism, retriability, load balancing and more.β32Jun 2, 2025Updated 10 months ago
- β11Dec 16, 2024Updated last year
- π¨ slog sampling: drop repetitive log recordsβ106Apr 2, 2026Updated 2 weeks ago
- Online multiplayer snake game written with Go.β20Dec 16, 2024Updated last year
- Ark -- Archetype-based Entity Component System (ECS) for Go.β237Apr 7, 2026Updated last week
- π Tiny event emitter built on genericsβ43Jan 11, 2024Updated 2 years ago
- perhaps the best CORS middleware library for Goβ209Updated this week