Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCategory ¶
type CreateCategoryHandler ¶
type CreateCategoryHandler interface {
Handle(ctx context.Context, cmd CreateCategory) error
}
type CreateCategoryHandlerImpl ¶
type CreateCategoryHandlerImpl struct {
// contains filtered or unexported fields
}
func NewCreateCategoryHandlerImpl ¶
func NewCreateCategoryHandlerImpl(repository category.Repository) *CreateCategoryHandlerImpl
func (CreateCategoryHandlerImpl) Handle ¶
func (c CreateCategoryHandlerImpl) Handle(ctx context.Context, cmd CreateCategory) error
type CreateProduct ¶
type CreateProduct struct { ID string Name string CategoryRef string Variants []ProductVariantDTO }
type CreateProductHandler ¶
type CreateProductHandler interface {
Handle(ctx context.Context, cmd CreateProduct) error
}
type CreateProductHandlerImpl ¶
type CreateProductHandlerImpl struct {
// contains filtered or unexported fields
}
func NewCreateProductHandlerImpl ¶
func NewCreateProductHandlerImpl(repo product.Repository) *CreateProductHandlerImpl
func (CreateProductHandlerImpl) Handle ¶
func (c CreateProductHandlerImpl) Handle(ctx context.Context, cmd CreateProduct) error
Directories
¶
Path | Synopsis |
---|---|
mock
|
|
mockcategory
Package mockcategory is a generated GoMock package.
|
Package mockcategory is a generated GoMock package. |
mockproduct
Package mockproduct is a generated GoMock package.
|
Package mockproduct is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.