fmt: Remove unused sliceutil
This commit is contained in:
parent
65afdeca36
commit
f9ac78d27f
|
|
@ -1,15 +0,0 @@
|
|||
package stringslice
|
||||
|
||||
func Contains(slice []string, search string) bool {
|
||||
for _, candidate := range slice {
|
||||
if search == candidate {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func Append(slice []string, element string) {
|
||||
slice = append(slice, element)
|
||||
}
|
||||
Loading…
Reference in New Issue