storage

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(config *config.Configuration) (*gorm.DB, error)

Connect opens a new Database Connection with Gorm

Types

type GormLogger

type GormLogger struct{}

GormLogger is a lgoger instance for gorm

func (*GormLogger) Print

func (*GormLogger) Print(v ...interface{})

Print prints the gorm log with logrus

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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