diff options
Diffstat (limited to 'middleware/pkg/strings/slice.go')
-rw-r--r-- | middleware/pkg/strings/slice.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/middleware/pkg/strings/slice.go b/middleware/pkg/strings/slice.go deleted file mode 100644 index 3d4b1d481..000000000 --- a/middleware/pkg/strings/slice.go +++ /dev/null @@ -1,11 +0,0 @@ -package strings - -// StringInSlice check whether string a is a member of slice. -func StringInSlice(a string, slice []string) bool { - for _, b := range slice { - if b == a { - return true - } - } - return false -} |