diff options
Diffstat (limited to 'internal/cmd/backup.go')
-rw-r--r-- | internal/cmd/backup.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/cmd/backup.go b/internal/cmd/backup.go index 874b1be0..c5e17e16 100644 --- a/internal/cmd/backup.go +++ b/internal/cmd/backup.go @@ -42,8 +42,10 @@ portable among all supported database engines.`, }, } -const currentBackupFormatVersion = 1 -const archiveRootDir = "gogs-backup" +const ( + currentBackupFormatVersion = 1 + archiveRootDir = "gogs-backup" +) func runBackup(c *cli.Context) error { zip.Verbose = c.Bool("verbose") |