Method
Create
(ctx context.Context, input *tag_dto.CreateTag)
Source from the content-addressed store, hash-verified
| 34 | } |
| 35 | |
| 36 | func (i *imlTagModule) Create(ctx context.Context, input *tag_dto.CreateTag) error { |
| 37 | if input.Id == "" { |
| 38 | input.Id = uuid.New().String() |
| 39 | } |
| 40 | return i.tagService.Create(ctx, &tag.CreateTag{ |
| 41 | Id: input.Id, |
| 42 | Name: input.Name, |
| 43 | }) |
| 44 | } |
| 45 | |
| 46 | func (i *imlTagModule) Delete(ctx context.Context, id string) error { |
| 47 | return i.tagService.Delete(ctx, id) |
Callers
nothing calls this directly
Tested by
no test coverage detected