Documentation
¶
Index ¶
- func Bootstrap(appName string)
- func GetDSN() string
- func GetGormDB() *gorm.DB
- func LoadConfig(name string) error
- func LoadGormDB()
- func SetSupportiveConfigTypes(configType string)
- func Success(ctx *gin.Context, data interface{})
- func WrongWithErrno(ctx *gin.Context, err error)
- func WrongWithMessage(ctx *gin.Context, code int, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadGormDB ¶
func LoadGormDB()
func SetSupportiveConfigTypes ¶
func SetSupportiveConfigTypes(configType string)
func WrongWithErrno ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.