From 303f766a956d05fbc720b2192ecfb806f5812ce2 Mon Sep 17 00:00:00 2001 From: Robin Gagnon Date: Sat, 22 Feb 2025 17:44:06 -0500 Subject: [PATCH] feat: Remove repository size property (#67) --- cli/import.go | 1 - internal/repository/repository.go | 1 - 2 files changed, 2 deletions(-) diff --git a/cli/import.go b/cli/import.go index 3d2bf9a..db46d7d 100644 --- a/cli/import.go +++ b/cli/import.go @@ -78,6 +78,5 @@ func getImportRepositoryObject(repository *gogithub.Repository) bson.M { "description": repository.GetDescription(), "githubURL": repository.GetHTMLURL(), "githubCreatedAt": repository.GetCreatedAt().Time, - "size": repository.GetSize(), } } diff --git a/internal/repository/repository.go b/internal/repository/repository.go index 90b1c6b..6e1bdc1 100644 --- a/internal/repository/repository.go +++ b/internal/repository/repository.go @@ -19,7 +19,6 @@ type Repository struct { StargazersCount int `bson:"stargazersCount"` StargazersCountHistory []StargazersCountHistoryItem `bson:"stargazersCountHistory"` WeekStargazersCount int `bson:"weekStargazersCount"` - Size int `bson:"size"` GithubCreatedAt time.Time `bson:"githubCreatedAt"` GithubUpdatedAt time.Time `bson:"githubUpdatedAt"` VimColorSchemes []VimColorScheme `bson:"vimColorSchemes,omitempty"`