Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Apr 4, 2023
2 parents 23be143 + 90c0f1c commit 20039df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file modified coverage_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions util.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package main

import "strings"

func containsAny(s string, subStrings []string) bool {
for _, sub := range subStrings {
if strings.Contains(s, sub) {
return true
}
}
return false
}

0 comments on commit 20039df

Please sign in to comment.