Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Store(ctx context.Context, group *model.Group) error StoreMany(ctx context.Context, groups []*model.Group) error Update(ctx context.Context, group *model.Group) error Delete(ctx context.Context, filter *model.GroupFilter) ([]*model.Group, error) GetByID(ctx context.Context, id int) (*model.Group, error) Fetch(ctx context.Context, filter *model.GroupFilter) ([]*model.Group, int, error) }
Click to show internal directories.
Click to hide internal directories.