Append collects the issues from another Issues struct into a new Issues object.
(other *Issues)
| 1011 | |
| 1012 | // Append collects the issues from another Issues struct into a new Issues object. |
| 1013 | func (i *Issues) Append(other *Issues) *Issues { |
| 1014 | if i == nil { |
| 1015 | return other |
| 1016 | } |
| 1017 | if other == nil || i == other { |
| 1018 | return i |
| 1019 | } |
| 1020 | return NewIssuesWithSourceInfo(i.errs.Append(other.errs.GetErrors()), i.info) |
| 1021 | } |
| 1022 | |
| 1023 | // String converts the issues to a suitable display string. |
| 1024 | func (i *Issues) String() string { |