Proxy pattern
basilex opened this issue · 1 comments
basilex commented
Hi,
I think realSubject should be Subject interface instead of pointer to...
type Proxy struct {
realSubject *RealSubject
}
...like below...
type Proxy struct {
realSubject Subject
}
AlexanderGrom commented
Yes, that would be correct.
Fixed.