0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-13 19:45:47 +02:00

linter fix

This commit is contained in:
pomidorry 2026-05-06 16:59:21 +03:00
parent cfc8a32d9f
commit 1c2f67bab4
2 changed files with 4 additions and 4 deletions

View File

@ -216,9 +216,9 @@ type Repository struct {
// Avatar: ID(10-20)-md5(32) - must fit into 64 symbols
Avatar string `xorm:"VARCHAR(64)"`
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
LastPullSyncSuccessUnix timeutil.TimeStamp `xorm:"INDEX"`
}

View File

@ -124,7 +124,7 @@ type Repository struct {
// 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 ObjectFormatName `json:"object_format_name"`
// swagger:strfmt date-time