db

package
v0.0.0-...-6e4093b Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB(dbConfig configs.DBconfig) (db *sql.DB, err error)

func ExecuteSQLfile

func ExecuteSQLfile(db *sql.DB, sqlFilePath string) (err error)

func SetMigrationVersion

func SetMigrationVersion(migrationsDir string, db *sql.DB, version uint) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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