Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupServiceImpl ¶
func NewGroupServiceImpl( groupRepository group.GroupRepository, villageRepository village.VillageRepository, idGenerator generator.IDGenerator, qrCodeGenerator generator.QRCodeGenerator, ) *groupServiceImpl
Types ¶
type GroupService ¶
type GroupService interface { Create(ctx context.Context, p payload.CreateGroup) (id string, err error) GetAll(ctx context.Context) (responses []response.Group, err error) GetByID(ctx context.Context, id string) (response response.Group, err error) Update(ctx context.Context, id string, p payload.UpdateGroup) (err error) Delete(ctx context.Context, id string) (err error) GenerateQRCode(ctx context.Context, id string) (file []byte, err error) }
Click to show internal directories.
Click to hide internal directories.