Documentation ¶
Index ¶
- func CreateDatabase(db *gorm.DB, dbName string) error
- func DeleteDatabase(db *gorm.DB, dbName string) error
- func NewConnection(user, password, host string, port int) (*gorm.DB, error)
- func NewDatabase(log *zap.Logger) *gorm.DB
- func NewErrorHandler() fiber.ErrorHandler
- func NewFiber(cfg *FiberConfig) *fiber.App
- func NewLogger() *zap.Logger
- func NewValidator() *validator.Validate
- func NewViper(configFile string) *viper.Viper
- type FiberConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorHandler ¶
func NewErrorHandler() fiber.ErrorHandler
func NewFiber ¶
func NewFiber(cfg *FiberConfig) *fiber.App
func NewValidator ¶
func NewValidator() *validator.Validate
Types ¶
type FiberConfig ¶
Click to show internal directories.
Click to hide internal directories.