# 基本说明和概念

由于GO的语言特性和java不同，因此脚手架进行精简版领域驱动模式的适配。

注意：后面几个文档我们不打算讲的很复杂很天书。领域驱动根据实际业务每个人都可以有自己的理解

#### 什么是领域模型

为解决业务形成的一套模型，或者也是一种业务化的设计模式和思想。重点包括：实体、值对象、聚合对象、领域服务。

## 领域驱动设计一般分为两个阶段

1、以一种领域专家、设计人员、开发人员都能理解的“通用语言”作为相互交流的工具，在不断交流的过程中发现和挖出一些主要的领域概念，然后将这些概念设计成一个领域模型

2、由领域模型驱动软件设计，用代码来表现该领域模型。领域需求的最初细节，在功能层面通过领域专家的讨论得出

听到这你是否想弃剧？ 是的，很正常。我们一开始也是


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://65480539.gitbook.io/goft/jing-jian-ban-ling-yu-qu-dong/ji-ben-shuo-ming-he-gai-nian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
