mirror of
https://github.com/Estom/notes.git
synced 2026-04-07 12:57:59 +08:00
go知识重新整理
This commit is contained in:
10
Go/DesignPattern/memento/memento.go
Normal file
10
Go/DesignPattern/memento/memento.go
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* @Author:zhoutao
|
||||
* @Date:2020/12/12 下午3:01
|
||||
* @Desc:
|
||||
*/
|
||||
|
||||
package memento
|
||||
|
||||
//备忘录模式用于保存内部状态到外部,右不希望暴露内部状态的情形
|
||||
//
|
||||
Reference in New Issue
Block a user