Config

package
v0.0.0-...-e2416ae Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func DbURL

func DbURL(dbConfig *DBConfig) string

Types

type DBConfig

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

DBConfig represents db configuration

func BuildDBConfig

func BuildDBConfig() *DBConfig

Jump to

Keyboard shortcuts

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