Implementing a domain parser using Golang
Domains are designed to be readable and memorable, unlike IP addresses but that’s not all to them. A domain name consists of multiple parts:
Here, I’m going to implement a simple domain parser with Golang using the public suffix list.
The final Golang module is available on my Github.