Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCustomerParams ¶
type CustomerUseCase ¶
type CustomerUseCase interface { GetCustomer(ctx context.Context, id string) (*entity.Customer, error) ListCustomers(ctx context.Context) ([]entity.Customer, error) CreateCustomer(ctx context.Context, params *CreateCustomerParams) error UpdateCustomer(ctx context.Context, params *UpdateCustomerParams) error DeleteCustomer(ctx context.Context, id string) error }
func NewCustomerUsecase ¶
func NewCustomerUsecase(cr repository.CustomerRepository) CustomerUseCase
Click to show internal directories.
Click to hide internal directories.