go-domain-util
go-domain-util copied to clipboard
Localhost not supported
Test:
fmt.Println(domainutil.Domain("test.localhost"))
outputs nothing.