mirror of
https://github.com/mudler/luet.git
synced 2025-06-29 08:46:51 +00:00
11 lines
135 B
Go
11 lines
135 B
Go
package helpers
|
|
|
|
func Contains(s []string, e string) bool {
|
|
for _, a := range s {
|
|
if a == e {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|