Documentation ¶
Index ¶
- type Department
- type Service
- func (service *Service) GetAll() ([]Department, error)
- func (service *Service) GetDepartments(departmentID int) (*Department, error)
- func (service *Service) GetDepartmentsByName(departmentName string) (*Department, error)
- func (service *Service) WithSort(sortBy common.SortField, sortOrder common.SortOrder) *Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Department ¶
type Service ¶
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]Department, error)
func (*Service) GetDepartments ¶
func (service *Service) GetDepartments(departmentID int) (*Department, error)
func (*Service) GetDepartmentsByName ¶
func (service *Service) GetDepartmentsByName(departmentName string) (*Department, error)
Click to show internal directories.
Click to hide internal directories.