Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootDomain ¶
GetRootDomain extracts the effective top-level domain plus one (eTLD+1) from a URL. If extraction fails (e.g. for IP addresses or localhost), it falls back to the hostname.
func NormalizeURL ¶ added in v0.0.5
NormalizeURL removes fragments, common tracking/marketing parameters, and trailing slashes from a URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.