0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-13 21:56:10 +02:00

Reorder fields

Signed-off-by: pomidorry <106489913+Pomidorry@users.noreply.github.com>
This commit is contained in:
pomidorry 2026-05-06 22:03:01 +03:00 committed by GitHub
parent f092ea4101
commit de678aca06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,16 +121,16 @@ type Repository struct {
DefaultAllowMaintainerEdit bool `json:"default_allow_maintainer_edit"` DefaultAllowMaintainerEdit bool `json:"default_allow_maintainer_edit"`
AvatarURL string `json:"avatar_url"` AvatarURL string `json:"avatar_url"`
Internal bool `json:"internal"` Internal bool `json:"internal"`
// swagger:strfmt date-time
LastPullSyncSuccess time.Time `json:"last_pull_sync_success"`
Licenses []string `json:"licenses"`
MirrorInterval string `json:"mirror_interval"` MirrorInterval string `json:"mirror_interval"`
// ObjectFormatName of the underlying git repository // ObjectFormatName of the underlying git repository
ObjectFormatName ObjectFormatName `json:"object_format_name"` ObjectFormatName ObjectFormatName `json:"object_format_name"`
// swagger:strfmt date-time // swagger:strfmt date-time
MirrorUpdated time.Time `json:"mirror_updated"` MirrorUpdated time.Time `json:"mirror_updated"`
// swagger:strfmt date-time
LastPullSyncSuccess time.Time `json:"last_pull_sync_success"`
RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"` RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"`
Topics []string `json:"topics"` Topics []string `json:"topics"`
Licenses []string `json:"licenses"`
} }
// CreateRepoOption options when creating repository // CreateRepoOption options when creating repository