SoXX
5784b469b9
All checks were successful
Gitea Build Check / Build (push) Successful in 11m36s
Signed-off-by: SoXX <soxx@fenpa.ws>
18 lines
488 B
Go
18 lines
488 B
Go
package database
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.dragse.it/anthrove/otter-space-sdk/v2/pkg/models"
|
|
)
|
|
|
|
type TagAlias interface {
|
|
CreateTagAlias(ctx context.Context, tagAliasName models.AnthroveTagAliasName, tagID models.AnthroveTagID) error
|
|
|
|
GetAllTagAlias(ctx context.Context) ([]models.TagAlias, error)
|
|
|
|
GetAllTagAliasByTag(ctx context.Context, tagID models.AnthroveTagID) ([]models.TagAlias, error)
|
|
|
|
DeleteTagAlias(ctx context.Context, tagAliasName models.AnthroveTagAliasName) error
|
|
}
|