@@ -0,0 +1,11 @@
package utils
func Contains(slice []string, item string) bool {
set := make(map[string]struct{}, len(slice))
for _, s := range slice {
set[s] = struct{}{}
}
_, ok := set[item]
return ok
The note is not visible to the blocked user.