Versions in this module Expand all Collapse all v0 v0.0.2 Oct 3, 2025 Changes in this version + var ErrEmptyInput = errors.New("empty input") + var ErrIDNA = errors.New("idna conversion failed") + var ErrInvalidLabel = errors.New("invalid label") + var ErrTooLong = errors.New("domain too long") + func Normalize(s string) string + type Domain struct + ASCII string + ASCIILabels []string + HasPunycode bool + Icann bool + IsIDN bool + Labels []string + Normalized string + Raw string + Registerable string + Sld string + SubDomain string + Tld string + func Parse(s string) (Domain, error) v0.0.1 Oct 3, 2025