labels dto + controller + service placeholders

This commit is contained in:
nquidox 2026-03-13 16:02:49 +03:00
parent 569480ba26
commit 1991e9aec8
3 changed files with 270 additions and 0 deletions

View file

@ -0,0 +1,31 @@
package merch
import "context"
func (s *service) createLabel(ctx context.Context, userId int64, label *LabelDTO) error {
return nil
}
func (s *service) getLabels(ctx context.Context, userId int64) ([]LabelsList, error) {
return nil, nil
}
func (s *service) updateLabel(ctx context.Context, userId int64, labelUuid string, payload *LabelDTO) error {
return nil
}
func (s *service) deleteLabel(ctx context.Context, userId int64, labelUuid string) error {
return nil
}
func (s *service) attachLabel(ctx context.Context, userId int64, payload *LabelLink) error {
return nil
}
func (s *service) detachLabel(ctx context.Context, userId int64, payload *LabelLink) error {
return nil
}
func (s *service) getMerchLabels(ctx context.Context, userId int64, merchUuid string) ([]string, error) {
return nil, nil
}