Append collects the issues from another Issues struct into a new Issues object.
(other *Issues)
| 1047 | |
| 1048 | // Append collects the issues from another Issues struct into a new Issues object. |
| 1049 | func (i *Issues) Append(other *Issues) *Issues { |
| 1050 | if i == nil { |
| 1051 | return other |
| 1052 | } |
| 1053 | if other == nil || i == other { |
| 1054 | return i |
| 1055 | } |
| 1056 | return NewIssuesWithSourceInfo(i.errs.Append(other.errs.GetErrors()), i.info) |
| 1057 | } |
| 1058 | |
| 1059 | // String converts the issues to a suitable display string. |
| 1060 | func (i *Issues) String() string { |