Documentation ¶
Index ¶
- type EmployeeRepository
- func (r *EmployeeRepository) Create(ctx context.Context, e *models.Employee) error
- func (r *EmployeeRepository) Delete(ctx context.Context, id int) error
- func (r *EmployeeRepository) GetAll(ctx context.Context) ([]*models.Employee, error)
- func (r *EmployeeRepository) GetByID(ctx context.Context, id int) (*models.Employee, error)
- func (r *EmployeeRepository) Update(ctx context.Context, e *models.Employee) error
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmployeeRepository ¶
type EmployeeRepository struct {
// contains filtered or unexported fields
}
EmployeeRepository ...
func (*EmployeeRepository) Delete ¶
func (r *EmployeeRepository) Delete(ctx context.Context, id int) error
Delete call employees.employee_remove()
Click to show internal directories.
Click to hide internal directories.