Use the function Contains from the strings package.
import (
"strings"
)
strings.Contains("something", "some") // true
Use the function Contains from the strings package.
import (
"strings"
)
strings.Contains("something", "some") // true