database

package
v0.0.0-...-bd520fb Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *gorm.DB

Db is the database connection

Functions

func CloseDatabase

func CloseDatabase()

func CreateTableIfNotExists

func CreateTableIfNotExists(modelType interface{})

func InitDatabase

func InitDatabase() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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