This repository holds commonly used packages that provide various self-contained utilities and business logic helpers.
Here is a brief summary of a selection of packages:
Provides a ready-to-use logger that reports to Sentry by default, wraps "github.com/upfluence/log"
behind the scenes.
Wraps commonly used time functions so that they can be easily mocked later.
Facilitates a common concurrency pattern by spawning a groups of goroutines working on a same task. Handles error cancellation and propagation.
Fetches custom values from environment variables, or default values if they don't exist.
Abstracts the money type and provides an interface, a default implementation (based on the EU central bank API) and helpers to exchange amounts of money to various currencies
Provides common operations on slices missing from "slices"
.
Can return a pointer to a value. And other pointer stuff.