Append collects the issues from another Issues struct into a new Issues object.
(other *Issues)
| 1223 | |
| 1224 | // Append collects the issues from another Issues struct into a new Issues object. |
| 1225 | func (i *Issues) Append(other *Issues) *Issues { |
| 1226 | if i == nil { |
| 1227 | return other |
| 1228 | } |
| 1229 | if other == nil || i == other { |
| 1230 | return i |
| 1231 | } |
| 1232 | return NewIssuesWithSourceInfo(i.errs.Append(other.errs.GetErrors()), i.info) |
| 1233 | } |
| 1234 | |
| 1235 | // String converts the issues to a suitable display string. |
| 1236 | func (i *Issues) String() string { |