You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
317 B

1 year ago
  1. package tag
  2. import "context"
  3. type Repository interface {
  4. FindOne(ctx context.Context, id string) (*Tag, error)
  5. FindRecursive(ctx context.Context, id string) ([]Tag, error)
  6. List(ctx context.Context, full bool) ([]Tag, error)
  7. Save(ctx context.Context, tag Tag) error
  8. Delete(ctx context.Context, tag Tag) error
  9. }