package
0.0.0-20240220045909-d6d59087f46f
Repository: https://github.com/hemant-jain-author/design-patterns-using-go.git
Documentation: pkg.go.dev

# Structs

BaseCoffeeDecorator provides default implementation for the CoffeeDecorator interface.
BaseCoffeeDecorator provides default implementation for the CoffeeDecorator interface.
BaseDecorator provides default implementation for the Operation method.
BaseDecorator provides default implementation for the Decorator interface.
ConcreteComponent is the concrete implementation of Component.
ConcreteDecorator1 is a concrete decorator.
ConcreteDecorator2 is another concrete decorator.
EspressoDecorator is a concrete decorator for adding espresso to coffee.
EspressoDecorator is a concrete decorator for adding espresso to coffee.
HorizontalScrollBarDecorator is a concrete decorator for adding a horizontal scrollbar to a window.
MilkDecorator is a concrete decorator for adding milk to coffee.
MilkDecorator is a concrete decorator for adding milk to coffee.
SimpleCoffee is a simple concrete implementation of Coffee.
SimpleCoffee is a simple concrete implementation of ICoffee.
SimpleWindow is a simple concrete implementation of Window.
VerticalScrollBarDecorator is a concrete decorator for adding a vertical scrollbar to a window.

# Interfaces

Coffee is the interface for coffee.
CoffeeDecorator is the interface for coffee decorators.
CoffeeDecorator is the interface for coffee decorators.
Component is the interface for the base component.
Decorator is the interface for the decorator.
Decorator is the interface for window decorators.
ICoffee is the interface for coffee.
Window is the interface for windows.