In this small blog we will see how we can parse a raw url and extract all the important info from it. We will use Go’s net/url library for this.
Let’s understand different components of URL.
https :// username:password @ example.com:8080 /url-parsing...