package
0.0.0-20240602043136-040e825c5048
Repository: https://github.com/carepollo/librecode.git
Documentation: pkg.go.dev
# Functions
check if plain string password is the equivalent of a given hash.
generates a random password of 12 characters long with random uppercase and lowercase letters and random numbers.
make http request and get a random SVG profile picture from given randomness seed, returns empty string if an error occurs.
hash and salt plain string password, returns the hashed password.
use dotenv to load .env file declarations into environment variables.
generates a random integer number within given range including the 0.
handles internally all the required logic to send an email by given values, it can send html mails.
validate through REGEX if a string is a valid email address.
check if the given string is valid to be used as username or reponame for the application (git actions, url, etc).
checks if a string has at least 8 characters at least 1 number and at least one uppercase.
# Variables
keep env vars in runtime.