Improve ExternalSegment.URL documentation
@@ -56,7 +56,9 @@ type ExternalSegment struct {
Request *http.Request
Response *http.Response
// If you do not have access to the request, this URL field should be
- // used to indicate the endpoint.
+ // used to indicate the endpoint. NOTE: If non-empty, this field
+ // is parsed using url.Parse and therefore it MUST include the protocol
+ // (eg. "http://").
URL string
}
