Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryParam ¶
type QueryParam struct { PaginationParam pagination.Param OrderFields pagination.OrderFields UserID string UserIDs []string }
type Repository ¶
type Repository interface { Query(ctx context.Context, params QueryParam) (UserRoles, *pagination.Pagination, error) Get(ctx context.Context, id string) (*UserRole, error) Create(ctx context.Context, item *UserRole) error Update(ctx context.Context, id string, item *UserRole) error Delete(ctx context.Context, id string) error DeleteByUserID(ctx context.Context, userID string) error }
Click to show internal directories.
Click to hide internal directories.