package
0.0.0-20220504151113-e7b08c1dbc82
Repository: https://github.com/davidhods/techhub-gograph.git
Documentation: pkg.go.dev

# Functions

compares if given password during login attempt matches with stored hash.
returns a duplicate error message which includes the duplicated field.
HandleError is a custom error function that prints to the terminal an error message, the function throwing the error, the filename and code line number responsible for the error.
hashes the password of users .
loads the environment variables.
checks for password strength, password field match.

# Constants

A key value pair for error type and returned error messages.