()
| 117 | } |
| 118 | |
| 119 | func (e *httpError) Error() string { |
| 120 | return fmt.Sprintf("HTTP %d from %s", e.statusCode, e.url) |
| 121 | } |
| 122 | |
| 123 | func isURL(path string) bool { |
| 124 | return strings.HasPrefix(path, "http://") || strings.HasPrefix(path, "https://") |
no outgoing calls