(e *subscribe.Apply, t *EditApply)
| 287 | } |
| 288 | |
| 289 | func (i *imlSubscribeApplyService) updateHandler(e *subscribe.Apply, t *EditApply) { |
| 290 | if t.Approver != nil { |
| 291 | e.Approver = *t.Approver |
| 292 | e.ApproveAt = time.Now() |
| 293 | } |
| 294 | if t.Status != nil { |
| 295 | e.Status = *t.Status |
| 296 | } |
| 297 | if t.Opinion != nil { |
| 298 | e.Opinion = *t.Opinion |
| 299 | } |
| 300 | if t.Applier != nil { |
| 301 | e.Applier = *t.Applier |
| 302 | e.ApplyAt = time.Now() |
| 303 | } |
| 304 | |
| 305 | } |
nothing calls this directly
no outgoing calls
no test coverage detected