package main func listContains(list []string, target string) bool { for _, item := range list { if item == target { return true } } return false }