1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Move default values to model package

This commit is contained in:
Maksym Pavlenko
2019-10-29 14:44:59 -07:00
parent 616fac57fd
commit fc9942baf6
3 changed files with 29 additions and 18 deletions

13
pkg/model/defaults.go Normal file
View File

@@ -0,0 +1,13 @@
package model
import (
"time"
)
const (
DefaultHostname = "http://localhost"
DefaultFormat = FormatVideo
DefaultQuality = QualityHigh
DefaultPageSize = 50
DefaultUpdatePeriod = 24 * time.Hour
)