xxxxxxxxxx
// HasPrefix tests whether the string s begins with prefix.
func HasPrefix(s, prefix string) bool
// Example
fmt.Println(strings.HasPrefix("Gopher", "Go")) // true
fmt.Println(strings.HasPrefix("Gopher", "C")) // false
fmt.Println(strings.HasPrefix("Gopher", "")) // true
xxxxxxxxxx
strings.HasPrefix("my string", "prefix") // false
strings.HasPrefix("my string", "my") // true