Skip to content

Commit 1ac0a75

Browse files
committed
Add missing fields to RepositoryList model
1 parent 2693f63 commit 1ac0a75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

models/repository.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ package models
22

33
// RepositoryList contains code repositories implemented by a certain paper.
44
type RepositoryList struct {
5-
Count int `json:"count"`
6-
Results []Repository `json:"results"`
5+
Count int64 `json:"count"`
6+
Next *string `json:"next"`
7+
Previous *string `json:"previous"`
8+
Results []Repository `json:"results"`
79
}
810

911
type Repository struct {

0 commit comments

Comments
 (0)