(r *http.Request)
| 601 | } |
| 602 | |
| 603 | func schemeFromRequest(r *http.Request) string { |
| 604 | if r.TLS != nil { |
| 605 | return "https" |
| 606 | } |
| 607 | return "http" |
| 608 | } |
| 609 | |
| 610 | func setRequestURLFromRequest(u *url.URL, r *http.Request) { |
| 611 | if u.Host == "" { |
no outgoing calls
no test coverage detected
searching dependent graphs…