Versions in this module Expand all Collapse all v0 v0.2.0 Jun 12, 2019 v0.1.0 Jun 11, 2019 Changes in this version + const UnicodeVersion + func ToASCII(s string) (string, error) + func ToUnicode(s string) (string, error) + type Option func(*options) + func BidiRule() Option + func MapForLookup() Option + func RemoveLeadingDots(remove bool) Option + func StrictDomainName(use bool) Option + func Transitional(transitional bool) Option + func ValidateForRegistration() Option + func ValidateLabels(enable bool) Option + func VerifyDNSLength(verify bool) Option + type Profile struct + var Display *Profile = display + var Lookup *Profile = lookup + var Punycode *Profile = punycode + var Registration *Profile = registration + func New(o ...Option) *Profile + func (p *Profile) String() string + func (p *Profile) ToASCII(s string) (string, error) + func (p *Profile) ToUnicode(s string) (string, error)