Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Add Web URL to response when comparing in a repository#2055

Merged
svanharmelen merged 2 commits intoxanzy:mainfrom
heidiberry:add-repositories-web-url
Nov 3, 2024
Merged

Add Web URL to response when comparing in a repository#2055
svanharmelen merged 2 commits intoxanzy:mainfrom
heidiberry:add-repositories-web-url

Conversation

@heidiberry
Copy link
Copy Markdown
Contributor

Fixes #2031

repositories.go Outdated
Diffs []*Diff `json:"diffs"`
CompareTimeout bool `json:"compare_timeout"`
CompareSameRef bool `json:"compare_same_ref"`
WebUrl string `json:"web_url"`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please read: https://go.dev/wiki/CodeReviewComments#initialisms In Go this field should be named WebURL

Copy link
Copy Markdown
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍🏻

@svanharmelen svanharmelen merged commit 5548b4f into xanzy:main Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repositories API Compare call is missing WebURL

2 participants