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:
parent
f092ea4101
commit
de678aca06
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user