Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCustomer ¶
type CreateCustomer struct {
// contains filtered or unexported fields
}
func NewCreateCustomer ¶
func NewCreateCustomer(customerRepo model.CustomerRepository) *CreateCustomer
type CreateSeller ¶
type CreateSeller struct {
// contains filtered or unexported fields
}
func NewCreateSeller ¶
func NewCreateSeller(sellerRepo model.SellerRepository) *CreateSeller
type DeleteCustomer ¶
type DeleteCustomer struct {
// contains filtered or unexported fields
}
func NewDeleteCustomer ¶
func NewDeleteCustomer(customerRepo model.CustomerRepository, findCustomer query.FindCustomerById) *DeleteCustomer
type DeleteSeller ¶
type DeleteSeller struct {
// contains filtered or unexported fields
}
func NewDeleteSeller ¶
func NewDeleteSeller(sellerRepo model.SellerRepository, findSellerById query.FindSellerById) *DeleteSeller
type UpdateCustomer ¶
type UpdateCustomer struct {
// contains filtered or unexported fields
}
func NewUpdateCustomer ¶
func NewUpdateCustomer(customerRepo model.CustomerRepository, findCustomer query.FindCustomerById) *UpdateCustomer
func (UpdateCustomer) Do ¶
func (c UpdateCustomer) Do(ctx context.Context, customerId int64, updateCustomer model.UpdateCustomer) error
type UpdateSeller ¶
type UpdateSeller struct {
// contains filtered or unexported fields
}
func NewUpdateSeller ¶
func NewUpdateSeller(sellerRepo model.SellerRepository, findSeller query.FindSellerById) *UpdateSeller
func (UpdateSeller) Do ¶
func (c UpdateSeller) Do(ctx context.Context, SellerId int64, updateSeller model.UpdateSeller) error
Click to show internal directories.
Click to hide internal directories.