Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Conf = new(Config)
Functions ¶
func InitConfig ¶
func InitConfig() (err error)
func InitLogger ¶
func InitLogger() (err error)
Types ¶
type Config ¶
type Config struct { DBConfig `mapstructure:"db"` Code `mapstructure:"code"` APIConfig `mapstructure:"api"` RedisConfig `mapstructure:"redis"` }
Click to show internal directories.
Click to hide internal directories.