db

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationHandler

type MigrationHandler struct {
	*migrate.Migrate
}

func NewMigrationHandler

func NewMigrationHandler() (*MigrationHandler, error)

func (*MigrationHandler) ListMigrations

func (m *MigrationHandler) ListMigrations()

func (*MigrationHandler) MigrationStep

func (m *MigrationHandler) MigrationStep(step int)

func (*MigrationHandler) RunMigrations

func (m *MigrationHandler) RunMigrations() error

func (*MigrationHandler) ViewMigration

func (m *MigrationHandler) ViewMigration(file string) []byte

Directories

Path Synopsis
types
flags
Package flags contains all the bitmask based flags used in the database.
Package flags contains all the bitmask based flags used in the database.

Jump to

Keyboard shortcuts

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