database

package
v0.0.0-...-c4351f5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDB

func GetDB() *gorm.DB

Types

type DBConfig

type DBConfig struct {
	Adapter  string
	Database string
	Host     string
	Port     int
	User     string
	Enabled  bool

	ConnString string
}

func GetDBConfig

func GetDBConfig() (*DBConfig, error)

Jump to

Keyboard shortcuts

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