ps:今天开发刚好是用到,所以随手记了下来
func main() {
if find := strings.Contains("test-v1", "v1"); find {
fmt.Println("find the character.")
}
}
find the character.
ps:今天开发刚好是用到,所以随手记了下来
func main() {
if find := strings.Contains("test-v1", "v1"); find {
fmt.Println("find the character.")
}
}
find the character.