feat: begin working on the categorize
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package utility
|
||||
|
||||
type MediaType string
|
||||
|
||||
// 0: unspecified
|
||||
// 1: video
|
||||
// 2: presentation
|
||||
// 3: internet URL
|
||||
const (
|
||||
Video MediaType = "video"
|
||||
Presentation MediaType = "presentation"
|
||||
Internet MediaType = "internet"
|
||||
Unspecified MediaType = "unspecified"
|
||||
)
|
||||
|
||||
var (
|
||||
videoFormats = []string{".mp4", ".mov", ".avi", ".mkv", ".webm", ".m4a"}
|
||||
presentationFormats = []string{".pptx", ".ppt", ".key", ".odp"}
|
||||
)
|
||||
Reference in New Issue
Block a user