Documentation ¶
Index ¶
- type TeamService
- func (service *TeamService) Create(dto teamDTO.CreateTeamDTO) (teamModel.Team, error)
- func (service *TeamService) Delete(id string) (teamModel.Team, error)
- func (service *TeamService) FindAll(dto teamDTO.QueryTeamDTO) (int64, []teamModel.Team, error)
- func (service *TeamService) FindByID(id string) (teamModel.Team, error)
- func (service *TeamService) Update(id string, dto teamDTO.UpdateTeamDTO) (teamModel.Team, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamService ¶
type TeamService struct {
// contains filtered or unexported fields
}
func InitTeamService ¶
func InitTeamService(r *teamRepository.TeamRepository) *TeamService
func (*TeamService) Create ¶
func (service *TeamService) Create(dto teamDTO.CreateTeamDTO) (teamModel.Team, error)
func (*TeamService) FindAll ¶
func (service *TeamService) FindAll(dto teamDTO.QueryTeamDTO) (int64, []teamModel.Team, error)
func (*TeamService) FindByID ¶
func (service *TeamService) FindByID(id string) (teamModel.Team, error)
func (*TeamService) Update ¶
func (service *TeamService) Update(id string, dto teamDTO.UpdateTeamDTO) (teamModel.Team, error)
Click to show internal directories.
Click to hide internal directories.