# DesignPattern

   在最近的工作中发现自己对于一些基础知识的掌握一直浮于表面，因此打算拿出一些精力来进行查漏补缺。\
   网上对于设计模式的讲解一般是基于java语言的，而我最近工作中主要的编程语言是golang，所以我决定，对于每种设计模式，都以java和golang两种语言来实现。\
   在学习的过程中，我会尽量找一些源码来进行分析学习，并且验证设计模式在实际应用过程中的使用。

## 一些参考

* **Java版示例，以及设计模式中大部分资料整理，来自Geely老师《java设计模式精讲》** ，本系列实际上也是该课程的学习笔记。
* [《设计模式的艺术-刘伟》](https://blog.csdn.net/LoveLion/article/details/17517213)
* [golang-design-pattern](https://github.com/senghoo/golang-design-pattern)

## 其他补充

**TODO:**&#x8BBE;计模式系列已经完结，后期会结合实际的工作经验，对这里列举的23种设计模式进行补充和完善。例如实际案例，源码解析等等。


---

# 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://www.selinux.tech/designpattern.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.
