validation

package
v0.0.0-...-d5a0809 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL