repo

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

Repo implements core.Repo.

func New

func New(tx *sql.Tx) *Repo

New returns new instance Repo.

func (*Repo) Rollback

func (r *Repo) Rollback(ctx context.Context, migrate core.Migrate) error

Rollback for implements core.Repo.

func (*Repo) Up

func (r *Repo) Up(ctx context.Context, migrate core.Migrate) error

Up for implements core.Repo.

func (*Repo) Version

func (r *Repo) Version(ctx context.Context) (uint, error)

Version for implements core.Repo.

Jump to

Keyboard shortcuts

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