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:
parent
f978e42036
commit
20ff933a17
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user