fix golint (#102)

This commit is contained in:
Jonas Franz 2018-04-07 16:59:28 +02:00 committed by Lunny Xiao
parent 417abc7c5d
commit ea7eeee318

View file

@ -35,7 +35,7 @@ func (c *Client) ListReleaseAttachments(user, repo string, release int64) ([]*At
return attachments, err return attachments, err
} }
// ListReleaseAttachments list release's attachments // GetReleaseAttachment returns the requested attachment
func (c *Client) GetReleaseAttachment(user, repo string, release int64, id int64) (*Attachment, error) { func (c *Client) GetReleaseAttachment(user, repo string, release int64, id int64) (*Attachment, error) {
a := new(Attachment) a := new(Attachment)
err := c.getParsedResponse("GET", err := c.getParsedResponse("GET",