From 8434e5c0dc22ade7fed8d7b447a783178d95d551 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 9 Jun 2021 22:59:12 +0200 Subject: update docs --- skate/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skate/url.go b/skate/url.go index 91f0185..4ea406e 100644 --- a/skate/url.go +++ b/skate/url.go @@ -16,7 +16,7 @@ var ( patBrokenHttpSchema = regexp.MustCompile(`^https?[^://]*?.*`) patBrokenSchemaPrefix = regexp.MustCompile(`(http|https)\W+(.*)`) - // Note: technically, only "http" is the schema (https://stackoverflow.com/q/56297974/89391). + // Note: [...] and naming things, https://stackoverflow.com/q/56297974/89391. okPrefixes = []string{"http://", "https://", "ftp://"} ) -- cgit v1.2.3