storage

package
Version: v0.0.0-...-bcc45f8 Latest Latest
Warning

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

Go to latest
Published: May 6, 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL