Versions in this module Expand all Collapse all v0 v0.1.0 Dec 7, 2023 Changes in this version + const Disallowed + const MaxPasswordLength + const MinPasswordLength + const UnicodeVersion + var ErrLongPassword = errors.New("norm: password is too long") + var ErrShortPassword = errors.New("norm: password is too short") + var URLProfile = precis.NewRestrictedProfile(precis.UsernameCaseMapped, runes.Predicate(func(r rune) bool { ... })) + func NormalizeEmail(email string) (string, error) + func NormalizeForm(r *http.Request, opts ...Option) (badkey string, err error) + func Username(displayname string) (string, error) + type Option func(getsetter) (string, error) + func DisplayName(key string) Option + func Email(key string) Option + func Name(key string) Option + func OpaqueString(key string) Option + func Password(key string) Option + func UnixLineEndings(key string) Option