Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(repo Repository) core.SemanticIDService
Types ¶
type Repository ¶
type Repository interface { Upsert(ctx context.Context, item core.SemanticID) (core.SemanticID, error) Get(ctx context.Context, id, owner string) (core.SemanticID, error) Delete(ctx context.Context, id, owner string) error Clean(ctx context.Context, ccid string) error }
func NewRepository ¶
func NewRepository(db *gorm.DB) Repository
Click to show internal directories.
Click to hide internal directories.