Skip to content

Commit

Permalink
Remove unused core.Any func
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 30, 2024
1 parent e23e64a commit 297096a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/core/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ func RandString(size, base byte) string {
return string(b)
}

func Any(errs ...error) error {
for _, err := range errs {
if err != nil {
return err
}
}
return nil
}

func Between(s, sub1, sub2 string) string {
i := strings.Index(s, sub1)
if i < 0 {
Expand Down

0 comments on commit 297096a

Please sign in to comment.