package
0.0.0-20230402152207-1089cc73e689
Repository: https://github.com/gitnoober/no-bank.git
Documentation: pkg.go.dev
# Functions
checkPassword checks if a password is correct or not.
HashedPassword returns the bcypt hash of the password.
isSupportedCurrency returns if currency param is supported else false.
LoadConfig reads configuration from env file or environment variables.
RandomCurrency chooses a random currecy from the given constants.
RandomEmail generates a random email.
RandomInt generates a random integer b/w min and max.
RandomMoney generates a random amount of money.
RandomOwner generates a random owner name.
RandomString generates a random string of length n.