db

package
v0.0.0-...-ac9c1c3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB *sql.DB
)

Functions

func Connect

func Connect()

Connect connect to the database.

func GetPostgresDataSourceName

func GetPostgresDataSourceName() string

GetPostgresDataSourceName 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