infrastructure

package
v0.0.0-...-5c39f79 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func ConnectDatabase

func ConnectDatabase() *Database

func (Database) CloseConnection

func (db Database) CloseConnection()

func (Database) GetConnection

func (db Database) GetConnection() *gorm.DB

func (Database) InitializeDatabase

func (db Database) InitializeDatabase(tables ...interface{})

Jump to

Keyboard shortcuts

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