kra-oa/internal/utils
Yvan 63dbb4cfbc 优化结构 2026-08-20 21:46:52 +08:00
..
configutil 优化结构 2026-08-20 21:46:52 +08:00
paymentutil 优化结构 2026-08-20 21:46:52 +08:00
README.md 优化结构 2026-08-20 21:46:52 +08:00

README.md

Utilities

Utilities are pure or near-pure helpers with no database, network client, runtime watcher, or business repository state.

  • configutil: partial JSON/Proto merge helpers used by configuration APIs.
  • paymentutil: payment amount, status, XML/JSON, and signing helpers shared by payment adapters.

Do not place Redis, SMTP, object storage, payment SDK clients, or GORM repos in this directory. Those belong to internal/integration or internal/data.