conn

package
v0.0.0-...-e19028e Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Db *sql.DB
}

func MysqlConnection

func MysqlConnection(cfg *config.MysqlCfg) Connection

func (*Connection) DropDatabase

func (c *Connection) DropDatabase(database string, user string) error

func (*Connection) NewDatabase

func (c *Connection) NewDatabase(database string, user string, password string) error

Jump to

Keyboard shortcuts

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