Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandCardID ¶
func RandCardID() int
Types ¶
type Config ¶
type Config struct { DBSource string `mapstructure:"DB_SOURCE"` DBDriver string `mapstructure:"DB_DRIVER"` DBRoot string `mapstructure:"DB_ROOT"` DBPassword string `mapstructure:"DB_PASSWORD"` DBPort string `mapstructure:"DB_PORT"` DBName string `mapstructure:"DB_NAME"` ServerAddress string `mapstructure:"SERVER_ADDRESS"` ServerPort string `mapstructure:"SERVER_PORT"` }
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
Click to show internal directories.
Click to hide internal directories.