Skip to content

Commit c36e4ce

Browse files
committed
remove CloneURL field
1 parent 60213e6 commit c36e4ce

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

pkg/github/minimal_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ type MinimalRepository struct {
2525
FullName string `json:"full_name"`
2626
Description string `json:"description,omitempty"`
2727
HTMLURL string `json:"html_url"`
28-
CloneURL string `json:"clone_url,omitempty"`
2928
Language string `json:"language,omitempty"`
3029
Stars int `json:"stargazers_count"`
3130
Forks int `json:"forks_count"`

pkg/github/repositories_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,6 @@ func Test_CreateRepository(t *testing.T) {
11251125
Description: github.Ptr("Test repository"),
11261126
Private: github.Ptr(true),
11271127
HTMLURL: github.Ptr("https://github.com/testuser/test-repo"),
1128-
CloneURL: github.Ptr("https://github.com/testuser/test-repo.git"),
11291128
CreatedAt: &github.Timestamp{Time: time.Now()},
11301129
Owner: &github.User{
11311130
Login: github.Ptr("testuser"),

pkg/github/search.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ func SearchRepositories(getClient GetClientFn, t translations.TranslationHelperF
8585
FullName: repo.GetFullName(),
8686
Description: repo.GetDescription(),
8787
HTMLURL: repo.GetHTMLURL(),
88-
CloneURL: repo.GetCloneURL(),
8988
Language: repo.GetLanguage(),
9089
Stars: repo.GetStargazersCount(),
9190
Forks: repo.GetForksCount(),

0 commit comments

Comments
 (0)