ESDM 是一个用纯 YAML 文件对事件溯源领域进行建模的工具,并附带一个意见化的 linter 来验证模型。

Stars

26

7 天增长

暂无数据

Fork 数

2

开放 Issue

15

开源协议

MIT

最近更新

2026-07-21

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将领域建模集成到版本控制和代码审查流程中,使事件溯源设计更易于维护和协作。

适合谁使用

  • 领域驱动设计实践者
  • 事件溯源架构师
  • 构建事件驱动系统的软件工程师
  • 采用事件风暴或领域建模的团队

典型使用场景

  • 对事件溯源系统中的聚合、事件和命令进行建模
  • 定义限界上下文及其关系
  • 在 CI/CD 流水线中验证领域模型
  • 在代码审查中记录和讨论领域模型变更

项目优势

  • 简单的 YAML 语法,易于阅读和编写
  • 意见化 linter 确保一致性并捕获错误
  • 模型与代码共存,支持版本控制演化
  • 开源,并在 esdm.io 提供完整文档

使用前须知

  • 需要理解事件溯源和 DDD 概念
  • 意见化的 linter 规则可能不适用于所有团队或建模风格
  • 目前仅支持 YAML 格式进行建模

README 快速开始

esdm

ESDM lets you model event-sourced domains as plain YAML files: aggregates, events, commands, bounded contexts, and more. An opinionated linter validates the models, so they can live next to your code and evolve in pull requests.

The complete documentation, including installation, getting started, concepts, modeling guides, and the full reference, is available at https://www.esdm.io.

Building From Source

$ make build

This builds the esdm binaries for all supported platforms into the build/ directory.

Running Quality Assurance

$ make

项目描述

Event-Sourced Domain Modeling language.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

nethical6
精选
nethical6 GitHub avatar

conversation-steganography

A tool that hides encrypted secret messages inside innocent-looking AI-generated chat text for private communication over any messaging platform.

Go
1,149
programmersd21
精选
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

开发者工具CLI 与终端
277
MobAI-App
MobAI-App GitHub avatar

simslim

simslim reduces iOS simulator memory usage by 4x by disabling unnecessary background daemons, allowing many more simulators to run on a single Mac.

Go
248