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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupService

type GroupService struct {
	mock.Mock
}

GroupService is an autogenerated mock type for the GroupService type

func (*GroupService) Create

func (_m *GroupService) Create(ctx context.Context, p payload.CreateGroup) (string, error)

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

func (*GroupService) Delete

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

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

func (*GroupService) GenerateQRCode

func (_m *GroupService) GenerateQRCode(ctx context.Context, id string) ([]byte, error)

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

func (*GroupService) GetAll

func (_m *GroupService) GetAll(ctx context.Context) ([]response.Group, error)

GetAll provides a mock function with given fields: ctx

func (*GroupService) GetByID

func (_m *GroupService) GetByID(ctx context.Context, id string) (response.Group, error)

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

func (*GroupService) Update

func (_m *GroupService) Update(ctx context.Context, id string, p payload.UpdateGroup) error

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

Jump to

Keyboard shortcuts

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