Documentation ¶
Overview ¶
Package validation provides validation for data inside widgets
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPassword ¶
func NewPassword(minEntropy float64) fyne.StringValidator
NewPassword returns a new validator for validating passwords. Validate returns nil if the password entropy is greater than or equal to the minimum entropy. If not, an error is returned that explains how the password can be strengthened. Advice on entropy value: https://github.com/wagslane/go-password-validator/tree/main#what-entropy-value-should-i-use
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.