util

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidUUIDv4

func IsValidUUIDv4(s string) bool

IsValidUUIDv4 is a utility function to verify if a given string is a valid UUID v4.

func ValidatePassword

func ValidatePassword(password string) bool

ValidatePassword is a custom validator to validate passwords. It checks that a password is at least 12 characters long, it contains at least one special character, at least one uppercase letter, at least one lowercase letter, and at least one digit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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