* INFRA-3705 : Creation of RCA ticket for sev-0 non-escalated non-CX incidents * INFRA-3705 : Self review * INFRA-3705 : Fix tests: * INFRA-3705 : UT's and minor constant changes * INFRA-3705 : Add migration script
15 lines
410 B
Go
15 lines
410 B
Go
package externalTeam
|
|
|
|
import (
|
|
"houston/model/externalTeam"
|
|
"houston/repository/externalTeamRepo"
|
|
)
|
|
|
|
type ExternalTeamService interface {
|
|
GetExternalTeamByTeamIdAndProvider(teamId uint, provider string) (*externalTeam.ExternalTeamDTO, error)
|
|
}
|
|
|
|
func NewExternalTeamService(repo externalTeamRepo.IExternalTeamRepository) ExternalTeamService {
|
|
return &externalTeamServiceImpl{externalTeamRepository: repo}
|
|
}
|