MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Software-Architecture-with-Golang / functions

Functions228 in github.com/PacktPublishing/Hands-On-Software-Architecture-with-Golang

↓ 6 callersFunctionincrementLikes
(conn *redis.Client, id string)
Chapter08/redis.go:97
↓ 5 callersMethodRun
()
Chapter03/command.go:51
↓ 4 callersMethodCalculateCancellationFee
()
Chapter03/multiple_interfaces.go:9
↓ 4 callersMethodUpdate
()
Chapter03/observer.go:32
↓ 3 callersMethodGetState
()
Chapter03/mememto.go:12
↓ 3 callersMethodMethodA
()
Chapter03/composite.go:9
↓ 3 callersMethodSetState
(state State)
Chapter03/state.go:24
↓ 3 callersFunctionsetHotel
(conn *redis.Client, h *Hotel)
Chapter08/redis.go:82
↓ 3 callersFunctionxSquare
(in <-chan int)
Chapter06/pipes_filter.go:18
↓ 2 callersMethodAction
(msg string)
Chapter03/command.go:37
↓ 2 callersMethodAddReservation
(r Reservation)
Chapter03/multiple_interfaces.go:67
↓ 2 callersMethodCancelReservation
(charge float64)
Chapter03/bridge.go:33
↓ 2 callersMethodDo
(args *Args, reply *int)
Chapter05/rpc_server.go:17
↓ 2 callersMethodFinish
()
Chapter03/command.go:70
↓ 2 callersMethodGetAttrib
()
Chapter03/singleton.go:17
↓ 2 callersFunctionGetMyClass
()
Chapter03/singleton.go:26
↓ 2 callersMethodGetReservationDate
()
Chapter03/creational_builder_factory.go:8
↓ 2 callersMethodOp1
()
Chapter03/state.go:18
↓ 2 callersMethodOp2
()
Chapter03/state.go:21
↓ 2 callersMethodSchedule
(cmd Report)
Chapter03/command.go:47
↓ 2 callersMethodSetState
(state string)
Chapter03/mediator.go:28
↓ 2 callersMethodSetState
(state string)
Chapter03/mememto.go:16
↓ 2 callersMethodVisit
(Node)
Chapter03/visitor.go:27
↓ 2 callersFunctionaddC
(in <-chan int, c int)
Chapter06/pipes_filter.go:29
↓ 2 callersFunctionclient
The client is ignorant to the algorithm
Chapter03/strategy.go:41
↓ 2 callersFunctionemitter
dummy function for a source
Chapter06/fan_in_select.go:35
↓ 2 callersFunctionemitter
dummy function for a source
Chapter06/fan_in.go:39
↓ 2 callersFunctionemitter
(till int)
Chapter06/pipes_filter.go:7
↓ 2 callersFunctionmakeId
generates ID for the Chapter10 from SKU, roomid and checkin date
Chapter10/models.go:59
↓ 2 callersFunctionsink
(name string, in <-chan Message)
Chapter06/fan_out.go:57
↓ 1 callersMethodAccept
(Visitor)
Chapter03/visitor.go:9
↓ 1 callersMethodAdd
(v uint)
Chapter12/generics/list/list-unit.go:15
↓ 1 callersMethodAddChild
(InterfaceX)
Chapter03/composite.go:10
↓ 1 callersMethodAttach
(observer Observer)
Chapter03/observer.go:14
↓ 1 callersMethodBook
()
Chapter03/proxy.go:27
↓ 1 callersMethodBuild
()
Chapter03/creational_builder_factory.go:51
↓ 1 callersMethodCancel
()
Chapter03/bridge.go:18
↓ 1 callersMethodCancel
()
Chapter03/bridge.go:27
↓ 1 callersFunctionCaretaker
caretaker
Chapter03/mememto.go:44
↓ 1 callersMethodCount
(context.Context, string)
Chapter07/go_kit.go:16
↓ 1 callersMethodCreateInvoice
()
Chapter03/abstract_factory.go:14
↓ 1 callersMethodCreateReservation
()
Chapter03/abstract_factory.go:13
↓ 1 callersMethodDoesNotGrow
DoesNotGrow method has a value receiver. This is Pass-By-Value. Age will nto be modified here
Chapter01, and 02/methods.go:19
↓ 1 callersMethodExecute
()
Chapter03/command.go:10
↓ 1 callersMethodExistingMethod
()
Chapter03/adaptor.go:10
↓ 1 callersMethodExpectedMethod
ExpectedMethod is the method clients in current code are using. This honors the expected interface and fulfils it using the Adaptee's method
Chapter03/adaptor.go:25
↓ 1 callersMethodFindBreadth
([]int)
Chapter03/strategy.go:11
↓ 1 callersMethodGet
()
Chapter12/generics/list/list-unit.go:19
↓ 1 callersFunctionGetFactory
GetFactory returns a factory given a config
Chapter03/abstract_factory.go:41
↓ 1 callersMethodGetFeatherLength
()
Chapter01, and 02/pigeon/pigeon.go:10
↓ 1 callersMethodGetMemento
()
Chapter03/mememto.go:21
↓ 1 callersMethodGetName
()
Chapter01, and 02/interface.go:18
↓ 1 callersMethodGetState
()
Chapter03/mememto.go:37
↓ 1 callersMethodGetState
()
Chapter03/observer.go:26
↓ 1 callersMethodGrow
Grow method has a pointer receiver. This is Pass-By-Reference
Chapter01, and 02/methods.go:14
↓ 1 callersMethodHandle
(what string)
Chapter03/command.go:75
↓ 1 callersFunctionNewAdapter
()
Chapter03/adaptor.go:19
↓ 1 callersFunctionNewContext
()
Chapter03/state.go:27
↓ 1 callersFunctionNewReservation
(vertical, reservationDate string)
Chapter03/creational_builder_factory.go:36
↓ 1 callersFunctionNewReservationBuilder
()
Chapter03/creational_builder_factory.go:83
↓ 1 callersMethodOp1
(*Context)
Chapter03/state.go:9
↓ 1 callersMethodOp2
(*Context)
Chapter03/state.go:10
↓ 1 callersFunctionProfileDecorator
This decorate profiles the execution time of function fn
Chapter03/decorator.go:12
↓ 1 callersMethodReservationDate
(string)
Chapter03/creational_builder_factory.go:50
↓ 1 callersMethodRestore
(memento Memento)
Chapter03/mememto.go:27
↓ 1 callersMethodSetAttrib
(val string)
Chapter03/singleton.go:13
↓ 1 callersMethodSetColleagueC1
(c1 Colleague1)
Chapter03/mediator.go:64
↓ 1 callersMethodSetColleagueC2
(c2 Colleague2)
Chapter03/mediator.go:68
↓ 1 callersMethodSetFeatherLength
(length int)
Chapter01, and 02/pigeon/pigeon.go:15
↓ 1 callersMethodSetModel
(s *Subject)
Chapter03/observer.go:46
↓ 1 callersMethodSetState
(s string)
Chapter03/mediator.go:72
↓ 1 callersMethodSetState
(newState string)
Chapter03/observer.go:19
↓ 1 callersMethodSpeak
()
Chapter01, and 02/interface.go:17
↓ 1 callersMethodStep1
()
Chapter03/template.go:23
↓ 1 callersMethodStep2
()
Chapter03/template.go:24
↓ 1 callersMethodTemplateMethod
()
Chapter03/template.go:14
↓ 1 callersMethodVertical
(string)
Chapter03/creational_builder_factory.go:49
↓ 1 callersFunctioncreateTwoUsers
(db *gorm.DB)
Chapter08/gorm_simple.go:53
↓ 1 callersFunctiondoSomeWork
(m *nsq.Message)
Chapter06/nsq_async_cons.go:72
↓ 1 callersFunctionemitter
dummy function for a source
Chapter06/fan_out.go:44
↓ 1 callersFunctionexecuteQuery
(query string, schema graphql.Schema)
Chapter07/graphql.go:66
↓ 1 callersFunctionfanIn
this combines the sources to a Fan-In channel
Chapter06/fan_in.go:19
↓ 1 callersFunctionfanInSelect
this combines the sources to a Fan-In channel
Chapter06/fan_in_select.go:10
↓ 1 callersFunctionfanOut
this combines the sources to a Fan-In channel
Chapter06/fan_out.go:24
↓ 1 callersMethodgenerateHateosLinks
(url string)
Chapter07/hotels_gins.go:44
↓ 1 callersFunctiongetHotel
(conn *redis.Client, id string)
Chapter08/redis.go:60
↓ 1 callersFunctionhandleCreateBookingMessage
(consumer *cluster.Consumer)
Chapter10/seller_proxy.go:57
↓ 1 callersFunctionmakeEndpoint
An endpoint represents a single RPC in the service interface
Chapter07/go_kit.go:54
↓ 1 callersFunctionmakeThemSing
The symphony makeThemSing demonstraces how client code can work with interfaces and not worry about struct specifics
Chapter01, and 02/interface.go:84
↓ 1 callersFunctionpersistReservation
(res *HotelReservationDTO)
Chapter10/models.go:64
↓ 1 callersFunctionrandomId
()
Chapter07/graphql.go:153
↓ 1 callersFunctionrequestor
(c chan<- Request)
Chapter06/req_reply.go:25
↓ 1 callersFunctionresponder
(c <-chan Request)
Chapter06/req_reply.go:17
↓ 1 callersFunctionsendInvaliationMessageToPriceStore
(eid, rid uint)
Chapter10/models.go:113
↓ 1 callersFunctionsendMessageToPerformBooking
Send message to Booking service to enable the next stage in the workflow
Chapter10/main.go:79
↓ 1 callersFunctiontop3LikedHotels
(conn *redis.Client)
Chapter08/redis.go:135
↓ 1 callersFunctionupdateReservationStatus
(reservationDTO *HotelReservationDTO, status Status)
Chapter10/models.go:117
MethodAccept
(visitor Visitor)
Chapter03/visitor.go:13
MethodAccept
(visitor Visitor)
Chapter03/visitor.go:18
MethodAdd
Add inserts an element to the end of the list
Chapter12/generics/list/template.go:23
next →1–100 of 228, ranked by callers