database

package
v0.0.0-...-96c2995 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: GPL-3.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const MigrationSource string = "file://migrations"

Variables

This section is empty.

Functions

func IsReadyWithInstance

func IsReadyWithInstance(db *sql.DB, config *config.DatabaseConfig) (bool, error)

func Migrate

func Migrate(connString string) error

func New

func New(config *config.DatabaseConfig) (*sqlx.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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