db

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MockDriverName = "mock"

Variables

This section is empty.

Functions

func GetConnection

func GetConnection(cfg config.Config, logger *zap.Logger) (*gorm.DB, error)

GetConnection Returns a database connection

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