mock

package
v0.0.0-...-002919c Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MockRepository

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

func (*MockRepository) Count

func (m *MockRepository) Count(ctx context.Context, conditions repositories.Conditions) int

func (*MockRepository) CreateOne

func (*MockRepository) Find

func (*MockRepository) FindOne

func (*MockRepository) RemoveByID

func (m *MockRepository) RemoveByID(ctx context.Context, s string) error

func (*MockRepository) UpdateByID

func (m *MockRepository) UpdateByID(ctx context.Context, s string, entity repositories.Entity) error

Jump to

Keyboard shortcuts

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