1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-29 08:26:10 +03:00

structural/proxy: fix typo for handle

This commit is contained in:
Adrian Tam 2017-07-21 00:16:53 -04:00
parent f978e42036
commit 20ff933a17

View File

@ -18,7 +18,7 @@ Short idea of implementation:
action string action string
} }
// ObjDo implements IObject interface and handel's all logic // ObjDo implements IObject interface and handles all logic
func (obj *Object) ObjDo(action string) { func (obj *Object) ObjDo(action string) {
// Action behavior // Action behavior
fmt.Printf("I can, %s", action) fmt.Printf("I can, %s", action)