(p string)
| 82 | } |
| 83 | |
| 84 | func splitPath(p string) []string { |
| 85 | p = strings.Trim(p, "/") |
| 86 | if p == "" { |
| 87 | return nil |
| 88 | } |
| 89 | return strings.Split(p, "/") |
| 90 | } |
| 91 | |
| 92 | // match finds the documented path template for a request. Literal segments |
| 93 | // beat parameters, so /repos/{owner}/{repo}/issues beats |
no outgoing calls
no test coverage detected