mirror of
https://github.com/zitadel/oidc.git
synced 2026-01-31 07:39:28 -06:00
11 lines
155 B
Go
11 lines
155 B
Go
package utils
|
|
|
|
func Contains(list []string, needle string) bool {
|
|
for _, item := range list {
|
|
if item == needle {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|