rum

package module
v0.0.0-...-72f6d4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 8 Imported by: 0

README

Rum

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(appName string)

func GetDSN

func GetDSN() string

func GetGormDB

func GetGormDB() *gorm.DB

func LoadConfig

func LoadConfig(name string) error

func LoadGormDB

func LoadGormDB()

func SetSupportiveConfigTypes

func SetSupportiveConfigTypes(configType string)

func Success

func Success(ctx *gin.Context, data interface{})

func WrongWithErrno

func WrongWithErrno(ctx *gin.Context, err error)

func WrongWithMessage

func WrongWithMessage(ctx *gin.Context, code int, message string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL