rdb

package
v0.0.0-...-854da8c Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknowEngine = errors.New("Unknown engine of database")
)

Errors

View Source
var KnownEngine = []string{
	"firebirdsql", "sqlite3", "postgres"}

KnownEngine - Codes of supported database engines

Functions

func CheckCodeEngine

func CheckCodeEngine(engine string) error

CheckCodeEngine - check supported database engine

func Open

func Open(name, connectionString string) (*sql.DB, error)

Open - returns *sql.DB with check of value engine

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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