initialize

package
v0.0.0-...-88294d8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gorm

func Gorm() *gorm.DB

Gorm 初始化数据库并产生数据库全局变量

func GormMysql

func GormMysql() *gorm.DB

GormMysql 初始化Mysql数据库

func MysqlTables

func MysqlTables(db *gorm.DB)

MysqlTables 注册数据库表专用

func Redis

func Redis()

func Routers

func Routers() *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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