database

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 7 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

DB global variable to access gorm

Functions

func GetDB

func GetDB() *gorm.DB

GetDB - get a connection

func InitDB

func InitDB() *gorm.DB

InitDB - function to initialize db

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