diff --git a/Chapter02/prototype.go b/Chapter02/prototype.go index e65a92e..ce25740 100644 --- a/Chapter02/prototype.go +++ b/Chapter02/prototype.go @@ -16,7 +16,7 @@ const ( ) func GetShirtsCloner() ShirtCloner { - return nil + return new(ShirtsCache) } type ShirtsCache struct{}