diff options
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/repo.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 852af1f891..680277ea60 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -93,7 +93,9 @@ type Repository struct { AvatarURL string `json:"avatar_url"` Internal bool `json:"internal"` MirrorInterval string `json:"mirror_interval"` - RepoTransfer *RepoTransfer `json:"repo_transfer"` + // swagger:strfmt date-time + MirrorUpdated time.Time `json:"mirror_updated,omitempty"` + RepoTransfer *RepoTransfer `json:"repo_transfer"` } // CreateRepoOption options when creating repository |