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

Method Enable

application/product.go:28–28  ·  view source on GitHub ↗
(product ProductInterface)

Source from the content-addressed store, hash-verified

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}
31

Callers

nothing calls this directly

Implementers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected