package
0.0.0-20231115162323-be34f8024966
Repository: https://github.com/golfgrab/journey-to-complete-backend.git
Documentation: pkg.go.dev

# Functions

CheckPassword checks if provided password is correct or not.
HashedPassword returns the bcrypt hashed password.
IsCurrencySupported returns true if the currency is supported.
LoadConfig reads the configuration from a config file or environment variables.
RandomCurrency returns a random currency.
RandomEmail returns a random email.
RandomInt returns a random int in the range [min, max].
RandomMoney returns a random money amount.
RandomOwner returns a random owner name.
RandomString returns a random string of length n.

# Constants

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

# Variables

SupportedCurrencies is a list of all supported currencies.

# Structs

Config stores all configuration of the application.