package controller func Contains(slice []string, target string) bool { for _, s := range slice { if s == target { return true } } return false }