labels dto + controller + service placeholders
This commit is contained in:
parent
569480ba26
commit
1991e9aec8
3 changed files with 270 additions and 0 deletions
31
internal/merch/service_labels.go
Normal file
31
internal/merch/service_labels.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue