From d90abd95f8c7ae0e164d80f2fb1b3b921778d536 Mon Sep 17 00:00:00 2001 From: rick olson Date: Tue, 26 Sep 2017 12:33:00 -0600 Subject: [PATCH] vars --- lfsapi/client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lfsapi/client.go b/lfsapi/client.go index 5ee22b95..5e1733dc 100644 --- a/lfsapi/client.go +++ b/lfsapi/client.go @@ -20,11 +20,12 @@ import ( "github.com/rubyist/tracerx" ) -var UserAgent = "git-lfs" - const MediaType = "application/vnd.git-lfs+json; charset=utf-8" -var httpRE = regexp.MustCompile(`\Ahttps?://`) +var ( + UserAgent = "git-lfs" + httpRE = regexp.MustCompile(`\Ahttps?://`) +) func (c *Client) NewRequest(method string, e Endpoint, suffix string, body interface{}) (*http.Request, error) { sshRes, err := c.SSH.Resolve(e, method)