package conf import ( "context" "github.com/eko/gocache/v2/cache" "gorm.io/gorm" ) var ( ConfigFile string // config file Conf *Config Debug bool DB *gorm.DB Cache *cache.Cache Ctx = context.TODO() ) var ( TextTypes = []string{"txt", "go"} OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"} VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb"} AudioTypes = []string{"mp3", "flac"} )