database

package
v0.0.0-...-9e2453e Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(cfg *config.Config) (*gorm.DB, error)

NewDatabase returns a gorm.DB struct, gorm.DB.DB() returns a database handle see http://golang.org/pkg/database/sql/#DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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