package
0.0.0-20211026235755-af7d139ab21b
Repository: https://github.com/lucasbarroso23/backend-master-class.git
Documentation: pkg.go.dev

# Functions

LoadConfig reads configuration from file or environment variable.
RandomCurrency genaretes a random currency code.
RandomInt generates a random integer between min and max.
RandomMoney genaretes a random amount of money.
RandomOwner genaretes a random owner name.
RandomString genarates a random string of length n.

# Structs

Config stores all configuration of the application the values are read by viper from a config file or environment variables.