(re *regexp.Regexp, s string)
| 1203 | ) |
| 1204 | |
| 1205 | func extractID(re *regexp.Regexp, s string) string { |
| 1206 | subm := re.FindStringSubmatch(s) |
| 1207 | if len(subm) < 2 { |
| 1208 | return "" |
| 1209 | } |
| 1210 | return subm[1] |
| 1211 | } |
| 1212 | |
| 1213 | type requestRegistry struct { |
| 1214 | sync.Mutex |
no outgoing calls
no test coverage detected