mocks

package
v0.0.0-...-bf9679a Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupRepository

type GroupRepository struct {
	mock.Mock
}

GroupRepository is an autogenerated mock type for the GroupRepository type

func (*GroupRepository) Delete

func (_m *GroupRepository) Delete(ctx context.Context, id string) error

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

func (*GroupRepository) FindAll

func (_m *GroupRepository) FindAll(ctx context.Context) ([]entity.Group, error)

FindAll provides a mock function with given fields: ctx

func (*GroupRepository) FindByID

func (_m *GroupRepository) FindByID(ctx context.Context, id string) (entity.Group, error)

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

func (*GroupRepository) Insert

func (_m *GroupRepository) Insert(ctx context.Context, _a1 entity.Group) error

Insert provides a mock function with given fields: ctx, _a1

func (*GroupRepository) InsertAll

func (_m *GroupRepository) InsertAll(ctx context.Context, groups []entity.Group) error

InsertAll provides a mock function with given fields: ctx, groups

func (*GroupRepository) Update

func (_m *GroupRepository) Update(ctx context.Context, id string, _a2 entity.Group) error

Update provides a mock function with given fields: ctx, id, _a2

Jump to

Keyboard shortcuts

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