From ca37395f513dde104dd29b4f40c9d1e45a646d00 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 12 Apr 2018 18:47:41 +0100 Subject: [PATCH] Remove underscore from var --- negotiator.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/negotiator.go b/negotiator.go index ac40e16..921f329 100644 --- a/negotiator.go +++ b/negotiator.go @@ -81,9 +81,9 @@ func (l Negotiator) RoundTrip(req *http.Request) (res *http.Response, err error) domain := "" if strings.Contains(u, "\\") { - u_components := strings.Split(u, "\\") - domain = u_components[0] - u = u_components[1] + ucomponents := strings.Split(u, "\\") + domain = ucomponents[0] + u = ucomponents[1] } // send negotiate