Skip to content

Commit

Permalink
[post] update the post <decorator pattern>
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-sj committed Jan 12, 2025
1 parent 600ca10 commit e29e9af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_posts/2024-12-22-decorator-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ mermaid: true
categories: Design-Pattern
---

先加 UML 图,文字介绍之后再补充~
> 装饰模式(Decorator Pattern):动态地给一个对象增加一些额外的职责,就增加对象的功能来说,
装饰模式比生成子类实现更加灵活。

<div class="mermaid">
classDiagram
Expand Down

0 comments on commit e29e9af

Please sign in to comment.