database

package
v0.0.0-...-2fca40d Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DB var
	DB *sql.DB
)

Functions

func Connect

func Connect()

Connect connect to the database.

func GetMySQLDataSourceName

func GetMySQLDataSourceName() string

GetMySQLDataSourceName returns environment variable for database connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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