diff options
author | Cameron Moore <moorereason@gmail.com> | 2018-09-06 14:50:54 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-07 08:25:51 +0200 |
commit | ccd32854845030179dd74293b8c518c6a7e3f39c (patch) | |
tree | 24b8ea84dcdc32b2eb3e3cbb35d87da59a17a538 /releaser/github.go | |
parent | 600047ff1cb95d061af1983b9a755157eb4941f8 (diff) |
releaser: Fix golint issues
struct field HtmlURL should be HTMLURL
Diffstat (limited to 'releaser/github.go')
-rw-r--r-- | releaser/github.go | 8 |
1 files changed, 4 insertions, 4 deletions
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"` } |