MCPcopy Create free account
hub / github.com/codeedu/fc2-arquitetura-hexagonal / Create

Method Create

application/product.go:27–27  ·  view source on GitHub ↗
(name string, price float64)

Source from the content-addressed store, hash-verified

25type ProductServiceInterface interface {
26 Get(id string) (ProductInterface, error)
27 Create(name string, price float64) (ProductInterface, error)
28 Enable(product ProductInterface) (ProductInterface, error)
29 Disable(product ProductInterface) (ProductInterface, error)
30}

Callers 3

TestRunFunction · 0.65
RunFunction · 0.65
createProductFunction · 0.65

Implementers 3

ProductServiceapplication/product_service.go
MockProductServiceInterfaceapplication/mocks/application.go
MockProductServiceInterfaceMockRecorderapplication/mocks/application.go

Calls

no outgoing calls

Tested by 1

TestRunFunction · 0.52