|
|
||
|---|---|---|
| .. | ||
| payment | ||
| repository | ||
| README.md | ||
| config_helpers.go | ||
| config_store.go | ||
| config_watch.go | ||
| data.go | ||
| data_scope.go | ||
| data_scope_audit.go | ||
| data_scope_audit_test.go | ||
| data_scope_record.go | ||
| data_scope_test.go | ||
| database.go | ||
| gorm_logger_test.go | ||
| initialization_backend.go | ||
| initialization_backend_test.go | ||
| integration_config.go | ||
| integration_config_test.go | ||
| integration_runtime.go | ||
| migrations.go | ||
| migrations_test.go | ||
| mongo.go | ||
| runtime_clients.go | ||
README.md
Data Layer
data owns database clients, persistence models, migrations, configuration
watching, and repository implementations.
repository/: system repositories and table persistencepayment/: payment configuration and payment-order persistence- root files: shared database lifecycle, runtime clients, integration-config storage, data-scope auditing, and migration orchestration
Root files intentionally stay in one package because they share Data state and
reload locks. Do not split them into packages only to reduce file count.