package
0.0.0-20221226131058-fe63e545dedb
Repository: https://github.com/bagashiz/simple-bank.git
Documentation: pkg.go.dev
# Functions
CheckPassword function checks if the provided password is correct or not.
HashPassword function returns the bcrypt hash of the password from input.
IsSupportedCurrency returns true if the currency is supported.
LoadConfig loads the configuration from a config file or environment variables.
RandomCurrency returns a random currency from a list of currencies.
RandomEmail returns a random email.
RandomInt returns a random integer in the range [min, max].
RandomMoney returns a random amount of money.
RandomOwner returns a random owner name.
RandomString returns a random string of the given length.