mirror of
https://github.com/go-gitea/go-sdk.git
synced 2026-07-01 21:04:05 -04:00
fix golint (#102)
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user