Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerUsecase ¶
type CustomerUsecase interface { AddCustomer(ctx context.Context, input model.AddCustomerInput) (model.CustomerOutput, error) GetAllCustomer(ctx context.Context) ([]model.CustomerOutput, error) GetCustomerById(ctx context.Context, id int64) (model.CustomerOutput, error) UpdateCustomerById(ctx context.Context, id int64, input model.UpdateCustomerInput) (model.CustomerOutput, error) DeleteCustomerById(ctx context.Context, id int64) error }
Click to show internal directories.
Click to hide internal directories.