From 28a1b9dcecfe7cd9a72ec2f6110aed06cbd0f247 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 22 Apr 2024 09:47:42 -0700 Subject: [PATCH] Update Parse.md --- content/en/functions/urls/Parse.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/functions/urls/Parse.md b/content/en/functions/urls/Parse.md index 2eb4eeadf..a64116254 100644 --- a/content/en/functions/urls/Parse.md +++ b/content/en/functions/urls/Parse.md @@ -19,6 +19,7 @@ The `urls.Parse` function parses a URL into a [URL structure](https://godoc.org/ {{ $url := "https://example.org:123/foo?a=6&b=7#bar" }} {{ $u := urls.Parse $url }} +{{ $u.String }} → https://example.org:123/foo?a=6&b=7#bar {{ $u.IsAbs }} → true {{ $u.Scheme }} → https {{ $u.Host }} → example.org:123