Skip to content

Commit

Permalink
lint: missing func comment
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jul 18, 2023
1 parent a5b01eb commit 663bcee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errsizedgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (m *MultiError) Error() string {
return fmt.Sprintf("%d error(s) occurred: %s", len(m.errors), strings.Join(errs, ", "))
}

// Errors returns all errors collected
func (m *MultiError) Errors() []error {
m.lock.Lock()
defer m.lock.Unlock()
Expand Down

0 comments on commit 663bcee

Please sign in to comment.