One context, every capability
Database, cache, queue, config, logger and structured errors reachable from a single per-request container.
An opinionated stack over Echo, GORM, MongoDB, Redis and RabbitMQ β so services start with routing, config, errors and jobs already wired.
Two major versions live side by side. v2 is a separate Go module, so both can be imported into the same build while you migrate β nothing forces a big-bang upgrade.
| v1 | v2 | |
|---|---|---|
| Import path | gitlab.finema.co/finema/idin-core | gitlab.finema.co/finema/idin-core/v2 |
| Status | Stable β maintained for existing services | Active development |
| Entry point | NewContext / NewHTTPServer | NewApp with explicit With⦠options |
| Jobs | Cronjob context | Job runner: triggers, queue, status, logs |
| Documentation | v1 guide | v2 guide |
go get gitlab.finema.co/finema/idin-core/v2go get gitlab.finema.co/finema/idin-coreBecause the module path is private, configure Go and Git once per machine:
export GOPRIVATE=gitlab.finema.co/finema/*
git config --global url."[email protected]:".insteadOf "https://gitlab.finema.co/"New service? Start from the starter template.