Shared infrastructure and utilities for the Lerian Platform services.
This package provides common infrastructure, patterns, and shared kernel components used across all Lerian Platform services (Flowker, Tracer, Midaz, etc.).
| Package | Description |
|---|---|
infrastructure/ |
Database, logging, cache, messaging, auth, observability |
platform/ |
Bootstrap, DataPlane, validation, service lifecycle |
sharedkernel/ |
DDD primitives, domain errors, types, pagination |
patterns/ |
Repository patterns, handler patterns |
testutil/ |
Test utilities, mocks, testcontainers helpers |
cache/ |
Cache abstractions and implementations |
db/ |
Database utilities |
shell/ |
Shell command utilities |
go get github.com/lerianstudio/shared-pkgimport (
"github.com/lerianstudio/shared-pkg/infrastructure/logging"
"github.com/lerianstudio/shared-pkg/sharedkernel/errors"
"github.com/lerianstudio/shared-pkg/platform"
)# Run tests
make test
# Run linter
make lint
# Build
make buildApache 2.0