(c rune)
| 60 | } |
| 61 | |
| 62 | func isValidRune(c rune) bool { |
| 63 | return (c >= 'A' && c <= 'Z') || |
| 64 | (c >= 'a' && c <= 'z') || |
| 65 | (c >= '0' && c <= '9') || |
| 66 | c == '.' || c == '-' || c == '_' || c == ':' |
| 67 | } |
| 68 | |
| 69 | func split(s string) []string { |
| 70 | s = strings.Trim(s, "/") |
no outgoing calls
no test coverage detected