Skip to content

docs: 刷新 design/audit,与当前架构对齐 #45

Description

@kooksee

问题

docs/design.md / design_zh.md 与代码漂移:

  • Dix 结构描述缺少 providerStats / recentErrors
  • 声称 struct field tags 参与 DI,代码未读取 dix tags
  • HTTP API 列表缺 runtime-stats / errors / diagnostics / trace
  • 未覆盖 dixtrace、timeout、diag-file

docs/audit.md / audit_zh.md 更像过期快照:

  • 仍写 dixhttp/dixcontext/dixglobal 0% 覆盖、缺少 CI、dixrender/ 存在
  • dig「无 Safe API」不准确(dig 的 Provide/Invoke 返回 error)
  • 分支戳记过旧

dixhttp/README_zh.md 缺少 EN 已有的 runtime-stats 说明。

建议

  • 按当前树刷新 design;审计改为「标注日期的历史报告」或重写指标
  • 同步中英 dixhttp 文档
  • 修正 dig 对比行

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions