-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
func GetArchiveLink(client *github.Client, ctx context.Context) (*url.URL, error) {
return client.Repositories.GetArchiveLink(ctx, "pelletier", "git-src", "zipball", &github.RepositoryContentGetOptions{ Ref: "master" }, 100);
}
Output:
unexpected status code: 300 Multiple Choices
Is it possible to add a return to at least one of the links?
Or it's better to add a new api such as client.Repositories.GetArchiveLinks which will return all links at once.
gmlewis