Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Split ¶
Split takes a domain name and decomposes it into its subdomain and domain components. The function returns the subdomain, the domain, and an error if the decomposition process fails.
For example:
- Input: "http://www.example.com"
- Output: "www", "example.com", nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.