mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 13:08:11 +02:00
linter fix
This commit is contained in:
parent
cfc8a32d9f
commit
1c2f67bab4
@ -216,9 +216,9 @@ type Repository struct {
|
|||||||
// Avatar: ID(10-20)-md5(32) - must fit into 64 symbols
|
// Avatar: ID(10-20)-md5(32) - must fit into 64 symbols
|
||||||
Avatar string `xorm:"VARCHAR(64)"`
|
Avatar string `xorm:"VARCHAR(64)"`
|
||||||
|
|
||||||
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
|
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
|
||||||
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
|
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
|
||||||
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
|
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
|
||||||
LastPullSyncSuccessUnix timeutil.TimeStamp `xorm:"INDEX"`
|
LastPullSyncSuccessUnix timeutil.TimeStamp `xorm:"INDEX"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -124,7 +124,7 @@ type Repository struct {
|
|||||||
// swagger:strfmt date-time
|
// swagger:strfmt date-time
|
||||||
LastPullSyncSuccess time.Time `json:"last_pull_sync_success"`
|
LastPullSyncSuccess time.Time `json:"last_pull_sync_success"`
|
||||||
Licenses []string `json:"licenses"`
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user