Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductService ¶
type ProductService interface { Fetch(response http.ResponseWriter, request *http.Request) FetchOne(response http.ResponseWriter, request *http.Request) Purchase(response http.ResponseWriter, request *http.Request) }
ProductService is a contract of http adapter layer
func New ¶
func New(usecase productusecase.ProductUseCase, jsonValidate *validator.Validate) ProductService
New returns contract implementation of ProductService
Click to show internal directories.
Click to hide internal directories.