Change ErrorList.Append() to append()

This commit is contained in:
Tim Hockin
2014-08-16 13:34:06 -07:00
parent b9e65c2438
commit a69979d22b
2 changed files with 34 additions and 39 deletions

View File

@@ -90,11 +90,6 @@ func (list errorListInternal) Error() string {
return strings.Join(sl, "; ")
}
// Deprecated, will be removed soon.
func (list *ErrorList) Append(errs ...error) {
*list = append(*list, errs...)
}
// ToError converts an ErrorList into a "normal" error, or nil if the list is empty.
func (list ErrorList) ToError() error {
if len(list) == 0 {