package conf import "gorm.io/gorm" var ( ConfigFile string // config file Conf *Config Debug bool DB *gorm.DB ) 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"} )