Documentation ¶
Index ¶
- type GroupService
- func (_m *GroupService) Create(ctx context.Context, p payload.CreateGroup) (string, error)
- func (_m *GroupService) Delete(ctx context.Context, id string) error
- func (_m *GroupService) GenerateQRCode(ctx context.Context, id string) ([]byte, error)
- func (_m *GroupService) GetAll(ctx context.Context) ([]response.Group, error)
- func (_m *GroupService) GetByID(ctx context.Context, id string) (response.Group, error)
- func (_m *GroupService) Update(ctx context.Context, id string, p payload.UpdateGroup) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupService ¶
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 ¶
GenerateQRCode 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
Click to show internal directories.
Click to hide internal directories.