(y *IssueComment)
| 571 | } |
| 572 | |
| 573 | func (x *IssueComment) Equal(y *IssueComment) bool { |
| 574 | if x == y { |
| 575 | return true |
| 576 | } |
| 577 | if x == nil || y == nil { |
| 578 | return x == nil && y == nil |
| 579 | } |
| 580 | if x.Name != y.Name { |
| 581 | return false |
| 582 | } |
| 583 | if x.Comment != y.Comment { |
| 584 | return false |
| 585 | } |
| 586 | if x.Payload != y.Payload { |
| 587 | return false |
| 588 | } |
| 589 | if p, q := x.CreateTime, y.CreateTime; (p == nil && q != nil) || (p != nil && (q == nil || p.Seconds != q.Seconds || p.Nanos != q.Nanos)) { |
| 590 | return false |
| 591 | } |
| 592 | if p, q := x.UpdateTime, y.UpdateTime; (p == nil && q != nil) || (p != nil && (q == nil || p.Seconds != q.Seconds || p.Nanos != q.Nanos)) { |
| 593 | return false |
| 594 | } |
| 595 | if x.Creator != y.Creator { |
| 596 | return false |
| 597 | } |
| 598 | if !x.GetApproval().Equal(y.GetApproval()) { |
| 599 | return false |
| 600 | } |
| 601 | if !x.GetIssueUpdate().Equal(y.GetIssueUpdate()) { |
| 602 | return false |
| 603 | } |
| 604 | if !x.GetPlanUpdate().Equal(y.GetPlanUpdate()) { |
| 605 | return false |
| 606 | } |
| 607 | return true |
| 608 | } |
nothing calls this directly
no test coverage detected