Documentation
Browse Luminyra's Go libraries by use case.
Choose a library based on the problem you want to solve. Each library has installation instructions, runnable examples, and a link to its API reference.
Data processing
- fp: Option, Result, and Either with generic methods for chaining across types.
- coll: Lazy, chainable Seq and collection helpers that complement slices, maps, and iter.
Errors and logging
- errs: Structured errors for log/slog with typed keys, stack traces, and panic recovery.
- sl: Failover, routing, middleware, attribute formatting, sampling, and HTTP logging for log/slog.
Application architecture
- ioc: Type-safe dependency injection with resolution by type and shutdown in reverse construction order.
- memo: In-memory caching with LRU, LFU, FIFO, jittered TTLs, batch loading, and background refresh.
- resil: Retries, circuit breakers, and timeouts for calls to dependencies, nested as closures with errors returned unchanged.
- rx: ReactiveX-style streams with chainable operators, range iteration, and context support.