connection

package
v0.0.0-...-3fe1aa9 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *sqlx.DB

Db é um ponteiro do pacote sqlx

Functions

func Connection

func Connection() (err error)

Connection CONNECTION WITH DATABASE

Types

type Conf

type Conf struct {
	Host string `yaml:"host"`
	Port string `yaml:"port"`
	User string `yaml:"user"`
	Pass string `yaml:"pass"`
	DB   string `yaml:"bd"`
}

Conf Info from config file

Jump to

Keyboard shortcuts

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