MCPcopy Create free account

hub / github.com/codeedu/fc2-arquitetura-hexagonal / functions

Functions106 in github.com/codeedu/fc2-arquitetura-hexagonal

↓ 10 callersMethodGetName
()
application/product.go:19
↓ 9 callersMethodGet
(id string)
application/product.go:33
↓ 8 callersMethodGetPrice
()
application/product.go:21
↓ 8 callersMethodGetStatus
()
application/product.go:20
↓ 8 callersFunctionjsonError
(msg string)
adapters/web/handler/error_json.go:5
↓ 6 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
application/mocks/application.go:33
↓ 6 callersMethodGetID
()
application/product.go:18
↓ 6 callersMethodIsValid
()
application/product.go:65
↓ 5 callersMethodDisable
()
application/product.go:17
↓ 5 callersMethodEnable
()
application/product.go:16
↓ 5 callersFunctionRun
(service application.ProductServiceInterface, action string, productId string, productName string, price float
adapters/cli/product.go:8
↓ 5 callersMethodSave
(product ProductInterface)
application/product.go:37
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
application/mocks/application.go:169
↓ 3 callersMethodCreate
(name string, price float64)
application/product.go:27
↓ 3 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
application/mocks/application.go:328
↓ 2 callersMethodDisable
()
application/product.go:105
↓ 2 callersMethodEnable
()
application/product.go:85
↓ 2 callersFunctionNewProduct
()
application/product.go:57
↓ 2 callersFunctionNewProductDb
(db *sql.DB)
adapters/db/product.go:14
↓ 2 callersMethodSave
(product application.ProductInterface)
adapters/db/product.go:31
↓ 2 callersFunctionsetUp
()
adapters/db/product_test.go:14
↓ 1 callersMethodChangePrice
(price float64)
application/product.go:22
↓ 1 callersMethodCreate
(name string, price float64)
application/product_service.go:19
↓ 1 callersMethodDisable
(product ProductInterface)
application/product_service.go:46
↓ 1 callersMethodEnable
(product ProductInterface)
application/product_service.go:34
↓ 1 callersFunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
cmd/root.go:53
↓ 1 callersMethodGet
(id string)
adapters/db/product.go:18
↓ 1 callersMethodGet
(id string)
application/product_service.go:11
↓ 1 callersMethodIsValid
()
application/product.go:15
↓ 1 callersFunctionMakeProductHandlers
(r *mux.Router, n *negroni.Negroni, service application.ProductServiceInterface)
adapters/web/handler/product.go:13
↓ 1 callersMethodServe
()
adapters/web/server/server.go:22
↓ 1 callersMethodcreate
(product application.ProductInterface)
adapters/db/product.go:48
↓ 1 callersFunctioncreateProduct
(service application.ProductServiceInterface)
adapters/web/handler/product.go:46
↓ 1 callersFunctioncreateProduct
(db *sql.DB)
adapters/db/product_test.go:34
↓ 1 callersFunctioncreateTable
(db *sql.DB)
adapters/db/product_test.go:20
↓ 1 callersFunctiondisableProduct
(service application.ProductServiceInterface)
adapters/web/handler/product.go:95
↓ 1 callersFunctionenableProduct
(service application.ProductServiceInterface)
adapters/web/handler/product.go:71
↓ 1 callersFunctiongetProduct
(service application.ProductServiceInterface)
adapters/web/handler/product.go:28
↓ 1 callersMethodupdate
(product application.ProductInterface)
adapters/db/product.go:69
MethodBind
(product *application.Product)
adapters/dto/product.go:16
MethodChangePrice
(price float64)
application/product.go:93
MethodChangePrice
ChangePrice mocks base method.
application/mocks/application.go:38
MethodChangePrice
ChangePrice indicates an expected call of ChangePrice.
application/mocks/application.go:46
MethodCreate
Create mocks base method.
application/mocks/application.go:174
MethodCreate
Create indicates an expected call of Create.
application/mocks/application.go:183
MethodDisable
(product ProductInterface)
application/product.go:29
MethodDisable
Disable mocks base method.
application/mocks/application.go:52
MethodDisable
Disable indicates an expected call of Disable.
application/mocks/application.go:60
MethodDisable
Disable mocks base method.
application/mocks/application.go:189
MethodDisable
Disable indicates an expected call of Disable.
application/mocks/application.go:198
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
application/mocks/application.go:252
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
application/mocks/application.go:290
MethodEnable
(product ProductInterface)
application/product.go:28
MethodEnable
Enable mocks base method.
application/mocks/application.go:66
MethodEnable
Enable indicates an expected call of Enable.
application/mocks/application.go:74
MethodEnable
Enable mocks base method.
application/mocks/application.go:204
MethodEnable
Enable indicates an expected call of Enable.
application/mocks/application.go:213
MethodGet
(id string)
application/product.go:26
MethodGet
Get mocks base method.
application/mocks/application.go:219
MethodGet
Get indicates an expected call of Get.
application/mocks/application.go:228
MethodGet
Get mocks base method.
application/mocks/application.go:257
MethodGet
Get indicates an expected call of Get.
application/mocks/application.go:266
MethodGet
Get mocks base method.
application/mocks/application.go:333
MethodGet
Get indicates an expected call of Get.
application/mocks/application.go:342
MethodGetID
()
application/product.go:113
MethodGetID
GetID mocks base method.
application/mocks/application.go:80
MethodGetID
GetID indicates an expected call of GetID.
application/mocks/application.go:88
MethodGetName
()
application/product.go:117
MethodGetName
GetName mocks base method.
application/mocks/application.go:94
MethodGetName
GetName indicates an expected call of GetName.
application/mocks/application.go:102
MethodGetPrice
()
application/product.go:125
MethodGetPrice
GetPrice mocks base method.
application/mocks/application.go:108
MethodGetPrice
GetPrice indicates an expected call of GetPrice.
application/mocks/application.go:116
MethodGetStatus
()
application/product.go:121
MethodGetStatus
GetStatus mocks base method.
application/mocks/application.go:122
MethodGetStatus
GetStatus indicates an expected call of GetStatus.
application/mocks/application.go:130
MethodIsValid
IsValid mocks base method.
application/mocks/application.go:136
MethodIsValid
IsValid indicates an expected call of IsValid.
application/mocks/application.go:145
FunctionMakeNewWebserver
()
adapters/web/server/server.go:18
FunctionNewMockProductInterface
NewMockProductInterface creates a new mock instance.
application/mocks/application.go:26
FunctionNewMockProductPersistenceInterface
NewMockProductPersistenceInterface creates a new mock instance.
application/mocks/application.go:321
FunctionNewMockProductReader
NewMockProductReader creates a new mock instance.
application/mocks/application.go:245
FunctionNewMockProductServiceInterface
NewMockProductServiceInterface creates a new mock instance.
application/mocks/application.go:162
FunctionNewMockProductWriter
NewMockProductWriter creates a new mock instance.
application/mocks/application.go:283
FunctionNewProduct
()
adapters/dto/product.go:12
FunctionNewProductService
(persistence ProductPersistenceInterface)
application/product_service.go:7
MethodSave
Save mocks base method.
application/mocks/application.go:295
MethodSave
Save indicates an expected call of Save.
application/mocks/application.go:304
MethodSave
Save mocks base method.
application/mocks/application.go:348
MethodSave
Save indicates an expected call of Save.
application/mocks/application.go:357
FunctionTestHandler_jsonError
(t *testing.T)
adapters/web/handler/error_json_test.go:8
FunctionTestProductDb_Get
(t *testing.T)
adapters/db/product_test.go:43
FunctionTestProductDb_Save
(t *testing.T)
adapters/db/product_test.go:54
FunctionTestProductService_Create
(t *testing.T)
application/product_service_test.go:25
FunctionTestProductService_EnableDisable
(t *testing.T)
application/product_service_test.go:38
FunctionTestProductService_Get
(t *testing.T)
application/product_service_test.go:11
FunctionTestProduct_Disable
(t *testing.T)
application/product_test.go:24
FunctionTestProduct_Enable
(t *testing.T)
application/product_test.go:10
FunctionTestProduct_IsValid
(t *testing.T)
application/product_test.go:38
FunctionTestRun
(t *testing.T)
adapters/cli/product_test.go:12
next →1–100 of 106, ranked by callers