Skip to content

LerianStudio/shared-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared Package (shared-pkg)

Shared infrastructure and utilities for the Lerian Platform services.

Overview

This package provides common infrastructure, patterns, and shared kernel components used across all Lerian Platform services (Flowker, Tracer, Midaz, etc.).

Packages

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

Installation

go get github.com/lerianstudio/shared-pkg

Usage

import (
    "github.com/lerianstudio/shared-pkg/infrastructure/logging"
    "github.com/lerianstudio/shared-pkg/sharedkernel/errors"
    "github.com/lerianstudio/shared-pkg/platform"
)

Development

# Run tests
make test

# Run linter
make lint

# Build
make build

License

Apache 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors