mockauth

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockauth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthRepo

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

MockAuthRepo is a mock of AuthRepo interface.

func NewMockAuthRepo

func NewMockAuthRepo(ctrl *gomock.Controller) *MockAuthRepo

NewMockAuthRepo creates a new mock instance.

func (*MockAuthRepo) CreateUser

func (m *MockAuthRepo) CreateUser(tx *sqlx.Tx, user auth.User) error

CreateUser mocks base method.

func (*MockAuthRepo) EXPECT

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

func (*MockAuthRepo) FindPassword

func (m *MockAuthRepo) FindPassword(tx *sqlx.Tx, name string) (string, error)

FindPassword mocks base method.

type MockAuthRepoMockRecorder

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

MockAuthRepoMockRecorder is the mock recorder for MockAuthRepo.

func (*MockAuthRepoMockRecorder) CreateUser

func (mr *MockAuthRepoMockRecorder) CreateUser(tx, user any) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockAuthRepoMockRecorder) FindPassword

func (mr *MockAuthRepoMockRecorder) FindPassword(tx, name any) *gomock.Call

FindPassword indicates an expected call of FindPassword.

Jump to

Keyboard shortcuts

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