tld Use Go and https://publicsuffix.org/list/ to extract top level domain Installation Run the following code go get github.com/qwerty22121998/tld Usage To show the progress tld.SetDebugMode(true/false) To Update the lastest tld list tld.Update()