mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChikitosRepository

type MockChikitosRepository struct {
	CreateChikitoFn func(ctx context.Context, chikito *domain.ChikitoCreate) (*domain.Chikito, error)
	GetChikitoFn    func(ctx context.Context, id string) (*domain.Chikito, error)
}

func (*MockChikitosRepository) CreateChikito

func (m *MockChikitosRepository) CreateChikito(ctx context.Context, chikito *domain.ChikitoCreate) (*domain.Chikito, error)

func (*MockChikitosRepository) GetChikito

func (m *MockChikitosRepository) GetChikito(ctx context.Context, id string) (*domain.Chikito, error)

Jump to

Keyboard shortcuts

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