Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetProductByIdQuery ¶
func NewGetProductByIdQuery ¶
func NewGetProductByIdQuery(productID uuid.UUID) *GetProductByIdQuery
type GetProductByIdQueryHandler ¶
type GetProductByIdQueryHandler struct {
// contains filtered or unexported fields
}
func NewGetProductByIdHandler ¶
func NewGetProductByIdHandler(productRepository *repository.InMemoryProductRepository) *GetProductByIdQueryHandler
func (*GetProductByIdQueryHandler) Handle ¶
func (q *GetProductByIdQueryHandler) Handle(ctx context.Context, query *GetProductByIdQuery) (*gettingProductByIdDtos.GetProductByIdQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.