17 lines
851 B
Go
17 lines
851 B
Go
// Package platform is the shared seam library for the e-commerce platform.
|
|
//
|
|
// It holds the small, stable interfaces and helpers that every module may
|
|
// import WITHOUT importing another module's internals: env/config loading,
|
|
// the AMQP and HTTP client factories, OpenTelemetry setup, graceful shutdown,
|
|
// and the cross-module event vocabulary.
|
|
//
|
|
// Dependency rule: packages under platform/ import only third-party libraries
|
|
// and other platform/ packages — never an application module. Application
|
|
// modules depend downward onto platform. This is what keeps it a stable seam.
|
|
//
|
|
// The migration that built this module is recorded in
|
|
// docs/platform-uniforming-plan.md; the live package inventory lives in
|
|
// docs/status.md ("Shared seams (platform/)"). Individual seam packages are
|
|
// documented in platform/agents.md.
|
|
package platform
|