Append collects the issues from another Issues struct into a new Issues object.
(other *Issues)
| 1101 | |
| 1102 | // Append collects the issues from another Issues struct into a new Issues object. |
| 1103 | func (i *Issues) Append(other *Issues) *Issues { |
| 1104 | if i == nil { |
| 1105 | return other |
| 1106 | } |
| 1107 | if other == nil || i == other { |
| 1108 | return i |
| 1109 | } |
| 1110 | return NewIssuesWithSourceInfo(i.errs.Append(other.errs.GetErrors()), i.info) |
| 1111 | } |
| 1112 | |
| 1113 | // String converts the issues to a suitable display string. |
| 1114 | func (i *Issues) String() string { |