📅  最后修改于: 2022-03-11 14:45:00.912000             🧑  作者: Mango
func stringInSlice(a string, list []string) bool {
for _, b := range list {
if b == a {
return true
}
}
return false
}