database

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLDB

type MySQLDB struct {
	ConnectionString string
	DB               *sql.DB
}

MySQLDB Defines a database connection

func (MySQLDB) CloseConnection

func (mysqlDB MySQLDB) CloseConnection() error

func (MySQLDB) Connect

func (mysqlDB MySQLDB) Connect(connectionString string, allowMultiStatements bool) (*sql.DB, error)

Jump to

Keyboard shortcuts

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