Documentation ¶
Index ¶
- type TeamService
- func (_m *TeamService) Create(request *team.TeamRequest) (*team.TeamRequest, error)
- func (_m *TeamService) Delete(request *team.TeamRequest) error
- func (_m *TeamService) FetchAllActive() ([]team.TeamRequest, error)
- func (_m *TeamService) FetchForAutocomplete() ([]team.TeamRequest, error)
- func (_m *TeamService) FetchOne(id int) (*team.TeamRequest, error)
- func (_m *TeamService) FindByIds(ids []*int) ([]*team.TeamBean, error)
- func (_m *TeamService) FindByTeamName(teamName string) (*team.TeamRequest, error)
- func (_m *TeamService) Update(request *team.TeamRequest) (*team.TeamRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamService ¶
TeamService is an autogenerated mock type for the TeamService type
func NewTeamService ¶
func NewTeamService(t mockConstructorTestingTNewTeamService) *TeamService
NewTeamService creates a new instance of TeamService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TeamService) Create ¶
func (_m *TeamService) Create(request *team.TeamRequest) (*team.TeamRequest, error)
Create provides a mock function with given fields: request
func (*TeamService) Delete ¶
func (_m *TeamService) Delete(request *team.TeamRequest) error
Delete provides a mock function with given fields: request
func (*TeamService) FetchAllActive ¶
func (_m *TeamService) FetchAllActive() ([]team.TeamRequest, error)
FetchAllActive provides a mock function with given fields:
func (*TeamService) FetchForAutocomplete ¶
func (_m *TeamService) FetchForAutocomplete() ([]team.TeamRequest, error)
FetchForAutocomplete provides a mock function with given fields:
func (*TeamService) FetchOne ¶
func (_m *TeamService) FetchOne(id int) (*team.TeamRequest, error)
FetchOne provides a mock function with given fields: id
func (*TeamService) FindByIds ¶
func (_m *TeamService) FindByIds(ids []*int) ([]*team.TeamBean, error)
FindByIds provides a mock function with given fields: ids
func (*TeamService) FindByTeamName ¶
func (_m *TeamService) FindByTeamName(teamName string) (*team.TeamRequest, error)
FindByTeamName provides a mock function with given fields: teamName
func (*TeamService) Update ¶
func (_m *TeamService) Update(request *team.TeamRequest) (*team.TeamRequest, error)
Update provides a mock function with given fields: request