mocks

package
v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Create

func (_m *Repository) Create(ctx context.Context, doc *model.Document) (*model.Document, error)

Create provides a mock function with given fields: ctx, doc

func (*Repository) Get

func (_m *Repository) Get(ctx context.Context, id string) (*model.File, error)

Get provides a mock function with given fields: ctx, id

type UseCase

type UseCase struct {
	mock.Mock
}

UseCase is an autogenerated mock type for the UseCase type

func (*UseCase) Create

func (_m *UseCase) Create(ctx context.Context, doc *model.Document) (*model.Document, error)

Create provides a mock function with given fields: ctx, doc

func (*UseCase) Get

func (_m *UseCase) Get(ctx context.Context, id string) (*model.File, error)

Get provides a mock function with given fields: ctx, id

Jump to

Keyboard shortcuts

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