config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func GormOpen

func GormOpen() (gormDB *gorm.DB, err error)

Types

type DBConfig

type DBConfig struct {
	Host     string
	Port     int
	User     string
	DBName   string
	Password string
}

DBConfig represents db configuration

Jump to

Keyboard shortcuts

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