package
0.0.0-20240613063314-c7e9e9b01c0b
Repository: https://github.com/wordyka/simplebank.git
Documentation: pkg.go.dev

# Functions

CheckPassword checks if the provided password is correct or not.
HashPassword returns the bcrypt hash of the password.
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 integer between min and max.
RandomMoney generates a random amount of money.
RandomOwner generates a random owner name.
RandomString 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.