diff --git a/README.md b/README.md index 44923dd..fc5e137 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ + [x] [策略模式(Strategy)](./behavior/12_strategy) + [ ] [状态模式(State)](./behavior/behavior16_state) + [ ] [备忘录模式(Memento)](./behavior/17_memento) -+ [ ] [解释器模式(Interpreter)](./behavior/19_interpreter) -+ [ ] [职责链模式(Chain of Responsibility)](./behavior/05_chain_of_responsibility) -+ [ ] [访问者模式(Visitor)](./behavior/23_visitor) ++ [ ] [访问者模式(Visitor)](./behavior/07_visitor) ++ [ ] [解释器模式(Interpreter)](./behavior/08_interpreter) ++ [x] [职责链模式(Chain of Responsibility)](./behavior/05_chain_of_responsibility) ## 创建型模式 diff --git a/behavior/23_visitor/README.md b/behavior/07_visitor/README.md similarity index 100% rename from behavior/23_visitor/README.md rename to behavior/07_visitor/README.md diff --git a/behavior/23_visitor/visitor.go b/behavior/07_visitor/visitor.go similarity index 100% rename from behavior/23_visitor/visitor.go rename to behavior/07_visitor/visitor.go diff --git a/behavior/23_visitor/visitor_test.go b/behavior/07_visitor/visitor_test.go similarity index 100% rename from behavior/23_visitor/visitor_test.go rename to behavior/07_visitor/visitor_test.go