}
if slashes == 1 {
skipParts := strings.SplitN(part, "/", 2)
// Count==1 guarantees len==2; only need to ensure the right side is non-empty.
if skipParts[1] == "" { // e.g. "5/"
return nil, fmt.Errorf("%s missing step value", field)
}
step, err = strconv.Atoi(skipParts[1])
if err != nil {
return nil, err
}
return nil, fmt.Errorf("%s has invalid Step", field)
}
}