Documentation ¶
Overview ¶
filename postgres.go author Yoshiya Ito <myon53@gmail.com> date 2019-03-13
filename redis.go author Yoshiya Ito <myon53@gmail.com> 2019-03-18
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
View Source
var Redis *redis.Pool
Functions ¶
func SetupDB ¶
func SetupDB()
Database Setup !!! You have to call this function after viper setting file
func SetupRedis ¶
func SetupRedis()
Redis Setup !!! You have to call this function after viper setting file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.