storage

package
v0.0.0-...-dedba89 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConnection

func CheckConnection(db *gorm.DB) (bool, error)

CheckConnection return true if connected succesfully

func ConnectToDatabase

func ConnectToDatabase(config *models.Config) (*gorm.DB, error)

ConnectToDatabase connects to database

Types

This section is empty.

Jump to

Keyboard shortcuts

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