Add validation package #19

Merged
xbazzi merged 5 commits from issue-7 into master 2025-02-13 22:10:24 -07:00
Showing only changes of commit b6b6db6457 - Show all commits

@ -3,7 +3,6 @@ package validation
import ( import (
"errors" "errors"
"fmt" "fmt"
"log"
neturl "net/url" neturl "net/url"
"strings" "strings"
) )
@ -46,7 +45,6 @@ func IsMusicUrl(url string) (bool, error) {
} }
for _, host := range musicHosts { for _, host := range musicHosts {
log.Println(parsed.Host)
if host == parsed.Host { if host == parsed.Host {
return true, nil return true, nil
} }