db_creater

package module
v0.0.0-...-51678dc Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 7 Imported by: 0

README

db_creater

create a database to use in the unit tests

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBCreator

type DBCreator struct {
	// contains filtered or unexported fields
}

func New

func New(user, password, address, db string, port int) *DBCreator

func (*DBCreator) CreateWithMigration

func (c *DBCreator) CreateWithMigration(migrationsDir string) (string, error)

func (*DBCreator) Drop

func (c *DBCreator) Drop(dbName string) error

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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