From ccd32854845030179dd74293b8c518c6a7e3f39c Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Thu, 6 Sep 2018 14:50:54 -0500 Subject: releaser: Fix golint issues struct field HtmlURL should be HTMLURL --- releaser/github.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'releaser/github.go') diff --git a/releaser/github.go b/releaser/github.go index 11f617007..ba019ccad 100644 --- a/releaser/github.go +++ b/releaser/github.go @@ -31,13 +31,13 @@ func newGitHubAPI(repo string) *gitHubAPI { type gitHubCommit struct { Author gitHubAuthor `json:"author"` - HtmlURL string `json:"html_url"` + HTMLURL string `json:"html_url"` } type gitHubAuthor struct { ID int `json:"id"` Login string `json:"login"` - HtmlURL string `json:"html_url"` + HTMLURL string `json:"html_url"` AvatarURL string `json:"avatar_url"` } @@ -45,7 +45,7 @@ type gitHubRepo struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` - HtmlURL string `json:"html_url"` + HTMLURL string `json:"html_url"` Stars int `json:"stargazers_count"` Contributors []gitHubContributor } @@ -53,7 +53,7 @@ type gitHubRepo struct { type gitHubContributor struct { ID int `json:"id"` Login string `json:"login"` - HtmlURL string `json:"html_url"` + HTMLURL string `json:"html_url"` Contributions int `json:"contributions"` } -- cgit v1.2.3