db

package
v0.0.0-...-be50a32 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBUSER     = "root"
	DBPASSWORD = "password"
	DBNAME     = "d2h"
	TESTDBNAME = "d2h-test"
)

Variables

This section is empty.

Functions

func NewDbConnection

func NewDbConnection() *gorm.DB

NewDbConnection for client connection

func NewTestDbConnection

func NewTestDbConnection() *gorm.DB

NewTestDbConnection for client connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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