package
0.0.0-20230118092138-5b52905a155c
Repository: https://github.com/packtpublishing/hands-on-software-architecture-with-golang.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetFactory returns a factory given a config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This decorate profiles the execution time of function fn.
No description provided by the author

# Structs

Adaptee is the existing structure - something we need to use.
Adapter is the structure we use to glue things together.
No description provided by the author
Concrete Colleauge 1 - uses state as string.
Concrete Colleauge 2 - uses state as int.
No description provided by the author
Concrete Mediator.
No description provided by the author
No description provided by the author
Concrete Observer A.
The Concrete Commands.
No description provided by the author
and an implementation .
The Context class.
A O(n) implementation.
FlightFactory implements AbstractFactory and creates products for the Flight family of products.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Dummy Subject.
Proxy.
HotelFactory implements AbstractFactory and creates products for the Hotel family of products.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InstitutionSeller is an specialization of the implementation.
Invoker - this object which knows how to execute a command, and optionally does bookkeeping about the command execution.
The 'abstract' MasterAlgorithm.
Momento.
No description provided by the author
A O(nlgn) implementation.
Originator.
PremiumReservation is a specialization of the interface.
Receiver - ancillary objects passed to command execution This can pass useful information for.
Reservation is the main abstraction the abstraction here is a struct not an interface , since in Go you cant have abstract structs/interfaces , where one can store reference to the Seller implementation.
SmallScaleSeller is an specialization of the implementation.
Concrete States.
No description provided by the author
The Subject.
No description provided by the author
Variant A.

# Interfaces

AbstractFactory is the abstract factory which will create two products - both which need to work with each other.
No description provided by the author
No description provided by the author
No description provided by the author
InterfaceX is the component interface.
No description provided by the author
The Mediator and Colleague interfaces.
the Node interface.
The Observer Interface.
The Command - encapsulates the action to be done.
Reservation and Invoice as two generic products.
No description provided by the author
No description provided by the author
No description provided by the author
This is the interface for all Sellers.
The State Inteface with the polymorphic methods.
No description provided by the author
The steps which can be specialized.
the Vistor interface.

# Type aliases

No description provided by the author