chore: fix comment (#1158)

This commit is contained in:
Kota Kanbe
2021-02-02 06:06:49 +09:00
committed by GitHub
parent 8b6b8d0f2e
commit fea7e93c8d

View File

@@ -180,7 +180,7 @@ func Major(version string) string {
return ver[0:strings.Index(ver, ".")]
}
// GetHttpClient return http.Client
// GetHTTPClient return http.Client
func GetHTTPClient(proxy string) (*http.Client, error) {
if proxy != "" {
proxyURL, err := url.Parse(proxy)