From e57d9aa6e4e8d413e93c1fed28e280e269822378 Mon Sep 17 00:00:00 2001 From: gilfoyle97 Date: Sun, 13 Feb 2022 12:50:54 +0100 Subject: [PATCH] Update urls.go --- utils/urls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/urls.go b/utils/urls.go index 7340282..09e0210 100644 --- a/utils/urls.go +++ b/utils/urls.go @@ -80,6 +80,7 @@ func GetScheme(input string) string { //HasScheme takes as input a string and //checks if it has a protocol ( like in a //URI/URL) +//Should be renamed to HasProtocol? func HasScheme(input string) bool { res := strings.Index(input, "://") return res >= 0