package
0.0.0-20241210225317-ff9379bd2196
Repository: https://github.com/ericlamnguyen/simple-bank.git
Documentation: pkg.go.dev

# Functions

CheckPwd checks if the provided password is correct or not.
HashPwd return the bcrypt hash of the password.
IsSupportedCurrency returns true if the currency is supported.
LoadConfig reads configuration file or environment variables.
Generates a random currency code.
Generates a random email.
Generates a random integer between min and max.
Generates a random amount of money.
Generates a random owner name.
Generates a random string of length n.

# Constants

constants for all supported currencies.
constants for all supported currencies.
constants for all supported currencies.

# Structs

Config stores all configuration of the application The struct field values are read from a config file or environment variables.