Documentation ¶
Index ¶
- Variables
- func GetConf() *internal.Server
- func GetDb() *gorm.DB
- func Init()
- func InitConfig() *internal.Server
- func Log() *logrus.Logger
- func NewDb(section string) (*gorm.DB, error)
- func NewError(code int, message string) *internal.Error
- func NewLog(section string) *logrus.Logger
- func Redis() *redis.Client
Constants ¶
This section is empty.
Variables ¶
View Source
var K *koanf.Koanf
Functions ¶
func InitConfig ¶ added in v1.0.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.