(t *CreateSubscribe)
| 184 | return []map[string]interface{}{{"uuid": t.Uuid}} |
| 185 | } |
| 186 | func (i *imlSubscribeService) createEntityHandler(t *CreateSubscribe) *subscribe.Subscribe { |
| 187 | return &subscribe.Subscribe{ |
| 188 | UUID: t.Uuid, |
| 189 | Name: t.Uuid, |
| 190 | Application: t.Application, |
| 191 | Service: t.Service, |
| 192 | From: t.From, |
| 193 | Applier: t.Applier, |
| 194 | CreateAt: time.Now(), |
| 195 | ApplyStatus: t.ApplyStatus, |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | func (i *imlSubscribeService) updateHandler(e *subscribe.Subscribe, t *UpdateSubscribe) { |
| 200 | if t.ApplyStatus != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected