mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 02:14:40 +00:00
Update Parse.md
This commit is contained in:
1 parent
842b20d2cc
commit
28a1b9dcec
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user