validator

package
v0.0.0-...-6aa0dfc Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const UsernameConvention string = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$"

Variables

This section is empty.

Functions

func IsValidPassword

func IsValidPassword(s string) bool

func IsValidUsername

func IsValidUsername(username string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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