mocks

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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 MockUsersUsecase

type MockUsersUsecase struct {
	mock.Mock
}

func (*MockUsersUsecase) AllowedEmojis

func (m *MockUsersUsecase) AllowedEmojis(ctx context.Context) ([]string, error)

func (*MockUsersUsecase) Create

func (m *MockUsersUsecase) Create(ctx context.Context, nickname, emoji string) (*model.User, error)

func (*MockUsersUsecase) Edit

func (m *MockUsersUsecase) Edit(ctx context.Context, userId, nickname, emoji string) error

func (*MockUsersUsecase) Get added in v0.6.2

func (m *MockUsersUsecase) Get(ctx context.Context, userId string) (*model.User, error)

func (*MockUsersUsecase) GetMultiple added in v0.6.2

func (m *MockUsersUsecase) GetMultiple(ctx context.Context, userIds []string) ([]*model.User, error)

Jump to

Keyboard shortcuts

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