MCPcopy Create free account

hub / github.com/PacktPublishing/Go-Design-Patterns / types & classes

Types & classes169 in github.com/PacktPublishing/Go-Design-Patterns

↓ 2 callersTypeAliasvalue
Chapter06/interpreter/oo_interpreter/interpreter.go:17
↓ 1 callersTypeAliasMute
Chapter06/memento/memento_command/memento_command.go:11
↓ 1 callersTypeAliasVolume
Chapter06/memento/memento_command/memento_command.go:5
StructAnimal
--------------------------------------------------------------------------
Chapter03/composite/composite.go:40
StructAnonymousTemplate
-------------------------------------------------------------------------
Chapter06/template/simple_template.go:33
StructAskState
Chapter07/state/state.go:45
StructAskState
Chapter07/state/state_refactored/state.go:46
StructAthlete
Chapter03/composite/composite.go:3
StructBikeBuilder
A Builder of type motorbike
Chapter02/builder.go:55
InterfaceBuildProcess
Chapter02/builder.go:3
StructBusBuilder
A Builder of type motorbike
Chapter02/builder.go:79
InterfaceCar
Chapter02/abstract_factory/car.go:3
StructCarBuilder
A Builder of type car
Chapter02/builder.go:31
StructCarFactory
Chapter02/abstract_factory/car_factory.go:13
StructCashPM
Chapter02/factory.go:35
InterfaceChainLogger
Chapter05/chain-of-responsability/chain.go:9
InterfaceChainLogger
Chapter05/command/example3/chain_command.go:12
StructClosureChain
Chapter05/chain-of-responsability/chain.go:58
InterfaceCommand
--------------------------------------------------------------------
Chapter06/memento/memento_command/memento_command.go:19
InterfaceCommand
Chapter05/command/example3/chain_command.go:8
InterfaceCommand
Chapter05/command/example2/command.go:8
InterfaceCommand
Chapter05/command/example1/command.go:8
StructCommandQueue
Chapter05/command/example1/command.go:28
StructCompositeSwimmerA
Chapter03/composite/composite.go:13
StructCompositeSwimmerB
Chapter03/composite/composite.go:33
StructConsoleOutput
Chapter05/command/example1/command.go:12
StructCounter
--------------------------------------------------
Chapter04/test.go:109
StructCounter
Chapter08/08_10.go:8
StructCountryEngland
Chapter01/interfaces/main.go:15
StructCountrySpain
Chapter01/interfaces/main.go:9
StructCruiseMotorbike
Chapter02/abstract_factory/cruise_motorbike.go:3
StructCurrentWeatherData
Chapter04/facade/facade.go:16
InterfaceCurrentWeatherDataRetriever
Chapter04/facade/facade.go:11
StructCyclist
Chapter01/interfaces/main.go:27
StructDebitCardPM
Chapter02/factory.go:36
FuncTypeDoerFunc
func()
Chapter04/test.go:15
StructDrawOutput
Chapter05/strategy/example2/output_strategy.go:11
StructDriver
Chapter01/interfaces/main.go:21
FuncTypeExecuteStringFunc
func() (string, error)
Chapter09/09_06.go:5
FuncTypeExecuteStringFunc
func() (string, error)
Chapter09/09_05.go:5
FuncTypeFailFunc
func(error)
Chapter09/09_06.go:4
FuncTypeFailFunc
func(error)
Chapter09/09_05.go:4
StructFamiliarCar
Chapter02/abstract_factory/familiar_car.go:3
StructFinishState
Chapter07/state/state.go:34
StructFinishState
Chapter07/state/state_refactored/state.go:34
StructFirstLogger
Chapter05/chain-of-responsability/chain.go:13
StructFridge
Chapter07/visitor/visitor2/visitor.go:50
StructGameContext
Chapter07/state/state.go:15
StructGameContext
Chapter07/state/state_refactored/state.go:14
InterfaceGameState
Chapter07/state/state.go:11
InterfaceGameState
Chapter07/state/state_refactored/state.go:10
StructHelloMessage
Chapter05/command/example2/command.go:20
StructHistoricalData
Chapter04/flyweight/flyweight.go:17
InterfaceIDoer
Chapter04/test.go:11
TypeAliasImage
Chapter10/Memory/main.go:17
StructImageSquare
Chapter05/strategy/example2/shapes/image.go:13
StructImageSquare
Chapter05/strategy/example1/main.go:25
InterfaceIngredientAdder
Chapter04/decorator/pizza_decorator.go:8
InterfaceInterpreter
Chapter06/interpreter/oo_interpreter/interpreter.go:13
InterfaceItemInfoGetter
Chapter02/prototype.go:40
InterfaceLegacyPrinter
------------------------------------------------------------------------
Chapter03/adapter/adapter.go:7
StructLogger
Chapter05/command/example3/chain_command.go:24
StructLoggerMiddleware
Chapter04/decorator/server/server_decorator.go:17
StructLoseState
Chapter07/state/state_refactored/state.go:75
StructLuxuryCar
Chapter02/abstract_factory/luxury_car.go:3
StructManufacturingDirector
Director
Chapter02/builder.go:11
StructMatch
Chapter04/flyweight/flyweight.go:30
StructMaybeString
Chapter09/09_06.go:7
StructMaybeString
Chapter09/09_05.go:7
StructMeat
Chapter04/decorator/pizza_decorator.go:20
StructMemento
--------------------------------------------------------------------
Chapter06/memento/memento_command/memento_command.go:25
StructMementoFacade
--------------------------------------------------------------------
Chapter06/memento/memento_command/memento_command.go:65
StructMessageA
Chapter07/visitor/visitor.go:10
StructMessageB
Chapter07/visitor/visitor.go:28
InterfaceMessageRetriever
Chapter06/template/simple_template.go:5
StructMessageVisitor
Chapter07/visitor/visitor.go:55
StructMockReader
Chapter04/test.go:135
InterfaceMotorbike
Chapter02/abstract_factory/motorbike.go:3
StructMotorbikeFactory
Chapter02/abstract_factory/motorbike_factory.go:13
StructMsgFieldVisitorPrinter
Chapter07/visitor/visitor.go:64
StructMyLegacyPrinter
------------------------------------------------------------------------
Chapter03/adapter/adapter.go:13
TypeAliasMyList
Chapter06/template/sort/sort_example.go:8
StructMyObject
Chapter04/test.go:68
StructMyServer
Chapter04/decorator/server/server_decorator.go:11
StructNamePrinter
Chapter07/visitor/visitor2/visitor.go:75
StructNewDebitCardPM
Chapter02/factory.go:46
InterfaceNewPrinter
------------------------------------------------------------------------
Chapter03/adapter/adapter.go:23
StructNormalPrinter
-----------------------------------------------------------------
Chapter03/bridge/bridge.go:45
StructObjectInherits
Chapter04/test.go:69
InterfaceObserver
Chapter07/observer/observer.go:5
StructOnion
Chapter04/decorator/pizza_decorator.go:35
InterfaceOutput
Chapter05/strategy/example2/output_strategy.go:5
InterfaceOutputStrategy
Chapter05/strategy/example1/main.go:14
StructPacktPrinter
-----------------------------------------------------------------
Chapter03/bridge/bridge.go:57
StructParent
--------------------------------------------------------------------------
Chapter03/composite/composite.go:61
StructPasta
Chapter07/visitor/visitor2/visitor.go:45
InterfacePaymentMethod
PaymentMethod defines a way of paying in the shop. This factory method returns objects that implements this interface
Chapter02/factory.go:10
StructPerson
Chapter01/structs/main.go:5
StructPizzaDecorator
Chapter04/decorator/pizza_decorator.go:12
StructPlayer
Chapter04/flyweight/flyweight.go:10
next →1–100 of 169, ranked by callers