|
|
@@ -249,6 +249,7 @@ type Repository4Card struct { |
|
|
|
OwnerName string |
|
|
|
LowerName string |
|
|
|
Name string |
|
|
|
Alias string |
|
|
|
NumWatches int |
|
|
|
NumStars int |
|
|
|
NumForks int |
|
|
@@ -291,6 +292,7 @@ func (repo *Repository) ToCardFormat() *Repository4Card { |
|
|
|
UpdatedUnix: repo.UpdatedUnix, |
|
|
|
PrimaryLanguage: repo.PrimaryLanguage, |
|
|
|
RelAvatarLink: r, |
|
|
|
Alias: repo.Alias, |
|
|
|
} |
|
|
|
return result |
|
|
|
} |
|
|
|