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 IDs []string Name string QueryValue string UserID string Status int }
type Repository ¶
type Repository interface { Query(ctx context.Context, params QueryParam) (Roles, *pagination.Pagination, error) Get(ctx context.Context, id string) (*Role, error) Create(ctx context.Context, item *Role) error Update(ctx context.Context, id string, item *Role) error Delete(ctx context.Context, id string) error UpdateStatus(ctx context.Context, id string, status int) error }
Click to show internal directories.
Click to hide internal directories.