database

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 database is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterDB

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

type MockCharacterDB

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

MockCharacterDB is a mock of CharacterDB interface.

func NewMockCharacterDB

func NewMockCharacterDB(ctrl *gomock.Controller) *MockCharacterDB

NewMockCharacterDB creates a new mock instance.

func (*MockCharacterDB) EXPECT

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

func (*MockCharacterDB) GetByID

func (m *MockCharacterDB) GetByID(ctx context.Context, id int) (*entity.Character, error)

GetByID mocks base method.

type MockCharacterDBMockRecorder

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

MockCharacterDBMockRecorder is the mock recorder for MockCharacterDB.

func (*MockCharacterDBMockRecorder) GetByID

func (mr *MockCharacterDBMockRecorder) 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