go-domain-util
go-domain-util copied to clipboard
Incorrect domain/domainPrefix parse
For url like https:\\yandex.ru we get scheme with domain
scheme = "https" domain = "https:\\yandex.ru" domainSuffix = "ru" domainPrefix = "https:\\yandex"
But for url like https:\\fff.yandex.ru, scheme is absent
scheme = "https" domain = "yandex.ru" domainSuffix = "ru" domainPrefix = "yandex"