MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Software-Architecture-with-Golang / types & classes

Types & classes101 in github.com/PacktPublishing/Hands-On-Software-Architecture-with-Golang

↓ 1 callersTypeAliasReservationTime
Chapter10/reservation_time.go:11
InterfaceAbstractFactory
AbstractFactory is the abstract factory which will create two products - both which need to work with each other
Chapter03/abstract_factory.go:12
StructAdaptee
Adaptee is the existing structure - something we need to use
Chapter03/adaptor.go:8
StructAdapter
Adapter is the structure we use to glue things together
Chapter03/adaptor.go:15
InterfaceAnimal
Chapter01, and 02/interface.go:13
StructArgs
Chapter05/rpc_server.go:11
StructArgs
Chapter05/rpc_client.go:8
StructAvailabilityThreshold
Chapter10/models.go:31
StructBird
Bird is a sample 'super class' to demonstrate 'inheritance' via embedding
Chapter01, and 02/embed.go:9
StructChainedReceiver
Chain Of Responsibilty uses Command to represent requests as objects
Chapter03/command.go:61
InterfaceColleague
Chapter03/mediator.go:13
StructColleague1
Concrete Colleauge 1 - uses state as string
Chapter03/mediator.go:19
StructColleague2
Concrete Colleauge 2 - uses state as int
Chapter03/mediator.go:39
StructComposite
Chapter03/composite.go:13
StructConcreteMediator
Concrete Mediator
Chapter03/mediator.go:59
StructConcreteNodeX
Chapter03/visitor.go:12
StructConcreteNodeY
Chapter03/visitor.go:17
StructConcreteObserverA
Concrete Observer A
Chapter03/observer.go:36
StructConcreteReportA
The Concrete Commands
Chapter03/command.go:15
StructConcreteReportB
Chapter03/command.go:24
StructConcreteVisitor
and an implementation
Chapter03/visitor.go:31
StructContext
The Context class
Chapter03/state.go:14
TypeAliasElement
The gogenerate command is used to create multiple instantiations from the generic type NOTE the replacement of tag "Element" - It's important that all
Chapter12/generics/list/template.go:10
StructElementList
ElementList is the generic FIFO queue
Chapter12/generics/list/template.go:13
StructFastAlgo
A O(n) implementation
Chapter03/strategy.go:22
StructFlightFactory
FlightFactory implements AbstractFactory and creates products for the Flight family of products
Chapter03/abstract_factory.go:30
StructFlightInvoice
Chapter03/abstract_factory.go:60
InterfaceFlightReservation
Chapter03/multiple_interfaces.go:17
StructFlightReservation
Chapter03/abstract_factory.go:59
StructFlightReservationImpl
Chapter03/multiple_interfaces.go:34
StructFlightReservationImpl
Chapter03/creational_builder_factory.go:16
FuncTypeFunction
func(float64) float64
Chapter03/decorator.go:9
StructHotel
Chapter07/graphql.go:11
StructHotel
Chapter07/hotels_gins.go:22
StructHotel
Chapter08/redis.go:10
StructHotel
Hotel desribes a single Hotel entity with attributes like name, number of rooms , etc It has a reference ( foreign key) to a HotelChain
Chapter08/gorm_associations.go:18
StructHotelBoutique
Dummy Subject
Chapter03/proxy.go:25
StructHotelBoutiqueProxy
Proxy
Chapter03/proxy.go:9
StructHotelChain
HotelChain is an entity which represents a group which has multiple hotels
Chapter08/gorm_associations.go:11
StructHotelFactory
HotelFactory implements AbstractFactory and creates products for the Hotel family of products
Chapter03/abstract_factory.go:18
StructHotelInvoice
Chapter03/abstract_factory.go:58
InterfaceHotelReservation
Chapter03/multiple_interfaces.go:12
StructHotelReservation
The code below demonstrates usage of the factories
Chapter03/abstract_factory.go:57
StructHotelReservation
Chapter10/models.go:19
StructHotelReservationDTO
Chapter10/main.go:46
StructHotelReservationImpl
Chapter03/multiple_interfaces.go:22
StructHotelReservationImpl
Chapter03/creational_builder_factory.go:12
StructInstitutionSeller
InstitutionSeller is an specialization of the implementation
Chapter03/bridge.go:37
InterfaceInterfaceX
InterfaceX is the component interface
Chapter03/composite.go:8
InterfaceInvoice
Chapter03/abstract_factory.go:9
StructInvoker
Invoker - this object which knows how to execute a command, and optionally does bookkeeping about the command execution.
Chapter03/command.go:43
StructLatLong
Chapter01, and 02/interface.go:8
StructLink
Chapter07/hotels_gins.go:30
StructLion
The Lion Family
Chapter01, and 02/interface.go:24
StructMasterAlgorithm
The 'abstract' MasterAlgorithm
Chapter03/template.go:10
InterfaceMediator
The Mediator and Colleague interfaces
Chapter03/mediator.go:9
StructMemento
Momento
Chapter03/mememto.go:33
StructMessage
Toy message that we want to send
Chapter06/kakfka_async_producer.go:14
StructMessage
Chapter06/fan_out.go:9
StructMuliplyService
Chapter05/rpc_server.go:15
StructMyClass
Chapter03/singleton.go:8
StructMyMessageHandler
MyMessageHandler is a struct which defines a method to handle messages
Chapter06/nsq_cons.go:12
StructMyMessageHandler
Chapter06/nsq_async_cons.go:15
StructNaiveAlgo
A O(nlgn) implementation
Chapter03/strategy.go:15
InterfaceNode
the Node interface
Chapter03/visitor.go:8
InterfaceObserver
The Observer Interface
Chapter03/observer.go:31
StructOriginator
Originator
Chapter03/mememto.go:8
StructPerson
Chapter01, and 02/methods.go:8
StructPigeon
Pigeon is the derived struct
Chapter01, and 02/embed.go:15
StructPigeon
The Pigeon Family
Chapter01, and 02/interface.go:57
StructPigeon
Chapter01, and 02/pigeon/pigeon.go:5
StructPremiumReservation
PremiumReservation is a specialization of the interface
Chapter03/bridge.go:23
StructReceiver
end of concrete commands Receiver - ancillary objects passed to command execution This can pass useful information for
Chapter03/command.go:35
InterfaceReport
The Command - encapsulates the action to be done
Chapter03/command.go:9
StructRequest
Chapter06/req_reply.go:8
InterfaceReservation
Reservation and Invoice as two generic products
Chapter03/abstract_factory.go:8
InterfaceReservation
Chapter03/multiple_interfaces.go:7
InterfaceReservation
Chapter03/creational_builder_factory.go:7
StructReservation
Reservation is the main abstraction the abstraction here is a struct not an interface , since in Go you cant have abstract structs/interfaces , where
Chapter03/bridge.go:13
InterfaceReservationBuilder
Chapter03/creational_builder_factory.go:48
StructResponse
Chapter06/req_reply.go:13
InterfaceSeller
This is the interface for all Sellers
Chapter03/bridge.go:32
StructSmallScaleSeller
SmallScaleSeller is an specialization of the implementation
Chapter03/bridge.go:45
InterfaceState
The State Inteface with the polymorphic methods
Chapter03/state.go:8
StructStateA
Concrete States
Chapter03/state.go:35
StructStateB
Chapter03/state.go:44
TypeAliasStatus
Chapter10/models.go:11
InterfaceStrategy
Chapter03/strategy.go:10
StructSubject
The Subject
Chapter03/observer.go:9
InterfaceTemplate
The steps which can be specialized
Chapter03/template.go:22
StructTrip
Chapter03/multiple_interfaces.go:53
StructUintList
Chapter12/generics/list/list-unit.go:7
StructUser
Chapter08/gorm_simple.go:10
StructUser
User desscribes an employee entity. We will be using this to demonstrate Cassandra create, read, update, and delete flows
Chapter08/cassandra.go:12
StructVariantA
Variant A
Chapter03/template.go:29
InterfaceVisitor
the Vistor interface
Chapter03/visitor.go:26
InterfaceVowelsService
CountVowels counts vowels in strings.
Chapter07/go_kit.go:15
StructVowelsServiceImpl
VowelsService is a concrete implementation of VowelsService
Chapter07/go_kit.go:20
StructcountVowelsRequest
For each method, we define request and response structs
Chapter07/go_kit.go:45
StructcountVowelsResponse
Chapter07/go_kit.go:49
next →1–100 of 101, ranked by callers