MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / OnComplete

Method OnComplete

service/team/iml.go:36–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (s *imlTeamService) OnComplete() {
37 s.IServiceGet = universally.NewGetSoftDelete[Team, team.Team](s.teamStore, FromEntity)
38
39 s.IServiceDelete = universally.NewSoftDelete[team.Team](s.teamStore)
40
41 s.IServiceCreate = universally.NewCreatorSoftDelete[CreateTeam, team.Team](s.teamStore, "team", createEntityHandler, uniquestHandler, labelHandler)
42
43 s.IServiceEdit = universally.NewEdit[EditTeam, team.Team](s.teamStore, updateHandler, labelHandler)
44 auto.RegisterService("team", s)
45
46}
47
48func (s *imlTeamService) GetLabels(ctx context.Context, ids ...string) map[string]string {
49 if len(ids) == 0 {

Callers

nothing calls this directly

Calls 3

NewGetSoftDeleteFunction · 0.92
NewCreatorSoftDeleteFunction · 0.92
NewEditFunction · 0.92

Tested by

no test coverage detected