feat: add services and separate further

This commit is contained in:
2026-04-29 13:25:38 +02:00
parent 6c28aea655
commit 8f6b1efea0
16 changed files with 318 additions and 168 deletions
-10
View File
@@ -2,20 +2,10 @@ package utility
import (
"log/slog"
"os"
"slices"
"strings"
)
func RemoveFile(p string) error {
err := os.Remove(p)
if err != nil {
return err
}
return nil
}
func CategorizeMediaType(ext string) MediaType {
// Lets categorize