From 4271df7118a9d91c03003b310d5a5eceaad0c244 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Fri, 26 Nov 2021 13:09:57 +0900 Subject: [PATCH] fix golint --- download/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download/proxy.go b/download/proxy.go index d51124b..f39c535 100644 --- a/download/proxy.go +++ b/download/proxy.go @@ -83,7 +83,7 @@ func (c *ProxyClient) ModuleName(path string) (string, error) { // LatestVersion gets the latest module version from the proxy func (c *ProxyClient) LatestVersion(path string) (string, error) { lowerPath := strings.ToLower(path) - u := fmt.Sprintf(c.latestURL(lowerPath)) + u := c.latestURL(lowerPath) resp, err := http.Get(u) if err != nil { return "", err