mocks

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/psyb0t/sql-migrator/internal/pkg/migrate (interfaces: Migrator)

Generated by this command:

mockgen -destination=./mocks/migrate.gen.go -package=mocks . Migrator

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMigrator

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

MockMigrator is a mock of Migrator interface.

func NewMockMigrator

func NewMockMigrator(ctrl *gomock.Controller) *MockMigrator

NewMockMigrator creates a new mock instance.

func (*MockMigrator) Down

func (m *MockMigrator) Down() error

Down mocks base method.

func (*MockMigrator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMigrator) Up

func (m *MockMigrator) Up() error

Up mocks base method.

type MockMigratorMockRecorder

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

MockMigratorMockRecorder is the mock recorder for MockMigrator.

func (*MockMigratorMockRecorder) Down

func (mr *MockMigratorMockRecorder) Down() *gomock.Call

Down indicates an expected call of Down.

func (*MockMigratorMockRecorder) Up

Up indicates an expected call of Up.

Jump to

Keyboard shortcuts

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