Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fx = fx.Provide(
newSQLRepo,
newSvcImpl,
)
Fx provides the ctags module that includes - a SQL repo to manage the storage of tags - a service implementation to manage tags
Functions ¶
func RunMigrations ¶
Types ¶
type Svc ¶
type Svc interface { AddTag(ctx context.Context, tag, entityID string) error RemoveTag(ctx context.Context, t, entityID string) error ListTags(ctx context.Context, entityID string) ([]string, error) HasTag(ctx context.Context, entityID, tag string) (bool, error) ListEntityIDs(ctx context.Context, tag string) ([]string, error) }
Svc provides methods to manage tags on entities
Click to show internal directories.
Click to hide internal directories.