()
| 207 | } |
| 208 | |
| 209 | func (i *imlAIKeyService) OnComplete() { |
| 210 | i.IServiceGet = universally.NewGet[Key, ai.Key](i.store, FromEntity) |
| 211 | i.IServiceCreate = universally.NewCreator[Create, ai.Key](i.store, "ai_key", createEntityHandler, uniquestHandler, labelHandler) |
| 212 | i.IServiceEdit = universally.NewEdit[Edit, ai.Key](i.store, updateHandler, labelHandler) |
| 213 | i.IServiceDelete = universally.NewDelete[ai.Key](i.store) |
| 214 | } |
| 215 | |
| 216 | func labelHandler(e *ai.Key) []string { |
| 217 | return []string{e.Name} |
nothing calls this directly
no test coverage detected