From ea7eeee318b44f359aa5da3b48a91cee7264b10c Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sat, 7 Apr 2018 16:59:28 +0200 Subject: [PATCH] fix golint (#102) --- gitea/attachment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/attachment.go b/gitea/attachment.go index e90a711..8c527de 100644 --- a/gitea/attachment.go +++ b/gitea/attachment.go @@ -35,7 +35,7 @@ func (c *Client) ListReleaseAttachments(user, repo string, release int64) ([]*At 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) { a := new(Attachment) err := c.getParsedResponse("GET",