Documentation ¶ Overview ¶ Package password generates random passwords that satisfy any Cognito password policy. Index ¶ func Generate(length int) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(length int) (string, error) Generate returns a random password of the given length that contains at least one lowercase letter, uppercase letter, digit, and symbol, so it meets any Cognito password policy whose minimum length is at most length. Types ¶ This section is empty. Source Files ¶ View all Source files password.go Click to show internal directories. Click to hide internal directories.