package
0.0.0-20230324130651-76b7c08076ba
Repository: https://github.com/chien179/simplebank.git
Documentation: pkg.go.dev

# Functions

CheckPassword checks if the provided password is correct or not.
HashPassword returns the bcrypt hash of.
IsSupportedCurrency returns true if the currency is supported.
LoadConfig reads configuration from file or environment variables.
RandomCurrency generates a random currency code.
RandomEmail generates a random email.
RandomInt generates a random interger between min and max.
RandomMoney generates a random amount of money.
RandomOwner generates a random owner name.
RandomString generates a random string of length m.

# Constants

Constants for all supported currencies.
Constants for all supported currencies.
Constants for all supported currencies.
Constants for all supported currencies.

# Structs

Config stores all configuration of the application.