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

Method OnComplete

service/strategy/iml.go:166–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166func (i *imlStrategyService) OnComplete() {
167
168 i.IServiceCreate = universally.NewCreator[Create, strategy.Strategy](i.store, "strategy", createEntityHandler, uniquestHandler, labelHandler)
169
170 i.IServiceEdit = universally.NewEdit[Edit, strategy.Strategy](i.store, updateHandler, labelHandler)
171}
172
173func labelHandler(e *strategy.Strategy) []string {
174 return []string{e.Name, e.UUID, e.Desc}

Callers

nothing calls this directly

Calls 2

NewCreatorFunction · 0.92
NewEditFunction · 0.92

Tested by

no test coverage detected