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

Method OnComplete

service/subscribe/iml.go:251–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251func (i *imlSubscribeApplyService) OnComplete() {
252 i.IServiceGet = universally.NewGet[Apply, subscribe.Apply](i.store, FromApplyEntity)
253 i.IServiceCreate = universally.NewCreator[CreateApply, subscribe.Apply](i.store, "subscribe_apply", i.createEntityHandler, i.uniquestHandler, i.labelHandler)
254 i.IServiceDelete = universally.NewDelete[subscribe.Apply](i.store)
255 i.IServiceEdit = universally.NewEdit[EditApply, subscribe.Apply](i.store, i.updateHandler, i.labelHandler)
256}
257
258func (i *imlSubscribeApplyService) idHandler(e *subscribe.Apply) int64 {
259 return e.Id

Callers

nothing calls this directly

Calls 3

NewGetFunction · 0.92
NewCreatorFunction · 0.92
NewEditFunction · 0.92

Tested by

no test coverage detected