Periksa Golang Prefix String
import (
"strings"
)
myString := "x-test"
result := strings.HasPrefix(s1, "x-")
TheLazyLemur
import (
"strings"
)
myString := "x-test"
result := strings.HasPrefix(s1, "x-")