mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
feat: split project name into owner and name
This commit is contained in:
parent
26ed84f50b
commit
45816ac7a8
2 changed files with 7 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ func GetGitHubData() []model.GitHubData {
|
|||
}
|
||||
|
||||
data = append(data, model.GitHubData{
|
||||
Name: project,
|
||||
Owner: apiResponse.Owner.Login,
|
||||
Name: apiResponse.Name,
|
||||
Description: apiResponse.Description,
|
||||
Stars: apiResponse.Stars,
|
||||
Language: apiResponse.Language,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue