diff --git a/20urls/main.go b/20urls/main.go index c338e3d..0deb5ab 100644 --- a/20urls/main.go +++ b/20urls/main.go @@ -30,10 +30,10 @@ func main() { } partsOfUrl := &url.URL{ - Scheme: "https", - Host: "lco.dev", - Path: "/tutcss", - RawPath: "user=hitesh", + Scheme: "https", + Host: "lco.dev", + Path: "/tutcss", + RawQuery: "user=hitesh", } anotherURL := partsOfUrl.String()