package
2.0.0+incompatible
Repository: https://github.com/tekker-dev/go-authcrunch.git
Documentation: pkg.go.dev

# Functions

CustomEvalObjectsWithLog compares two objects and logs extra output when detects an error.
EvalErr evaluates whether there is an error.
EvalErrPhaseWithLog evaluates the error according to the phase of execution.
EvalErrWithLog evaluates the error.
EvalObjects compares two objects.
EvalObjectsWithLog compares two objects and logs extra output when detects an error.
GetCryptoKeyPair returns private-public key pair.
NewID returns a random ID to be used for user identification.
NewRandomString returns a random string.
TempDir creates temporary directory.
Unpack converts input to map.
UnpackJSON converts a map to a JSON string.
WriteLog writes logs from tests.

# Variables

TestEmail1 is the email for user1.
TestEmail2 is the email for user2.
TestFullName1 is the full name for user1.
TestFullName2 is the full name for user2.
TestPwd1 is the password for user1.
TestPwd2 is the password for user2.
TestRoles1 is the roles for user1.
TestRoles2 is the roles for user2.
TestUser1 is the username for user1.
TestUser2 is the username for user2.