add func to DownloadReleaseAttachment #609
|
@ -110,6 +110,7 @@ func (c *Client) DeleteReleaseAttachment(user, repo string, release, id int64) (
|
|||
return resp, err
|
||||
}
|
||||
|
||||
// DownloadReleaseAttachment Download an Attachment of the Release by UUID
|
||||
func (c *Client) DownloadReleaseAttachment(UUID string) ([]byte, *Response, error) {
|
||||
6543 marked this conversation as resolved
Outdated
|
||||
if err := escapeValidatePathSegments(&UUID); err != nil {
|
||||
6543 marked this conversation as resolved
6543
commented
asap there is an official api ... we could add this here instead and use the old method only as fallback asap there is an official api ... we could add this here instead and use the old method only as fallback
|
||||
return nil, nil, err
|
||||
|
|
Loading…
Reference in New Issue
Block a user
A
io.Reader
return parameter maybe better?I will update it.