repository

package
v0.0.0-...-3cfe61e Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterRepository

type CharacterRepository interface {
	GetByID(ctx context.Context, id int) (*entity.Character, error)
}

type MockCharacterRepository

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

MockCharacterRepository is a mock of CharacterRepository interface.

func NewMockCharacterRepository

func NewMockCharacterRepository(ctrl *gomock.Controller) *MockCharacterRepository

NewMockCharacterRepository creates a new mock instance.

func (*MockCharacterRepository) EXPECT

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

func (*MockCharacterRepository) GetByID

GetByID mocks base method.

type MockCharacterRepositoryMockRecorder

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

MockCharacterRepositoryMockRecorder is the mock recorder for MockCharacterRepository.

func (*MockCharacterRepositoryMockRecorder) GetByID

func (mr *MockCharacterRepositoryMockRecorder) GetByID(ctx, id interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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