package
0.0.0-20241124093539-90a45e0228a0
Repository: https://github.com/antimatter007/go-backend.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 loads configuration from 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.