Documentation ¶
Index ¶
- Constants
- func CheckHashedPassword(hashPassword, password string) error
- func GenerateHashPassword(password string) (string, error)
- func IsSupportedCurrency(currency string) bool
- func RandomCurrency() string
- func RandomEmail() string
- func RandomInteger(min, max int64) int64
- func RandomMoney() int64
- func RandomOwner() string
- func RandomString(n int) string
- func RandomUsername() string
- type Config
Constants ¶
View Source
const ( EGP = "EGP" USD = "USD" RUB = "RUB" )
Variables ¶
This section is empty.
Functions ¶
func CheckHashedPassword ¶
func GenerateHashPassword ¶
func IsSupportedCurrency ¶
func RandomCurrency ¶
func RandomCurrency() string
func RandomEmail ¶
func RandomEmail() string
func RandomInteger ¶
Creates a random integer from min to max
func RandomMoney ¶
func RandomMoney() int64
func RandomOwner ¶
func RandomOwner() string
func RandomString ¶
func RandomUsername ¶
func RandomUsername() string
Types ¶
Click to show internal directories.
Click to hide internal directories.