db

package
v0.0.0-...-26119fc Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDb

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

GetDb returns the database connection

func Hello

func Hello() (*sql.Rows, error)

Hello is a simple testing function

func RunMigrations

func RunMigrations(db *sql.DB, migrationsPath string) error

RunMigrations runs the Database migrations

Types

This section is empty.

Jump to

Keyboard shortcuts

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