dbutils

package
v0.0.0-...-467f74f Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBConnFromFlags

func DBConnFromFlags() (*sql.DB, error)

DBConnFromFlags initializes a MySQL connection from command line flags.

Types

type DBInfo

type DBInfo struct {
	User     string
	Password string
	Host     string
	Port     string
	DB       string

	ParseTime bool
}

func DBURIFromFlags

func DBURIFromFlags() DBInfo

Jump to

Keyboard shortcuts

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