(b *testing.B, init func())
| 270 | } |
| 271 | |
| 272 | func initBenchmark(b *testing.B, init func()) { |
| 273 | init() |
| 274 | b.ResetTimer() |
| 275 | } |
| 276 | |
| 277 | func newRequest(method, path string) (*http.Request, error) { |
| 278 | u := fmt.Sprintf("https://example.com%s", path) |
no test coverage detected
searching dependent graphs…