Documentation ¶
Index ¶
- type IDatabase
- type IHandler
- func (_m *IHandler) Count(ctx context.Context, params arguments.PermissionCount) (int64, error)
- func (_m *IHandler) Delete(ctx context.Context, param arguments.PermissionDelete) (int64, error)
- func (_m *IHandler) GetByID(ctx context.Context, param arguments.PermissionGetByID) (models.Permission, error)
- func (_m *IHandler) GetByIDs(ctx context.Context, param arguments.PermissionGetByIDs) ([]models.Permission, error)
- func (_m *IHandler) Insert(ctx context.Context, params arguments.PermissionInsert) (models.Permission, error)
- func (_m *IHandler) List(ctx context.Context, params arguments.PermissionList) ([]models.Permission, error)
- func (_m *IHandler) Update(ctx context.Context, params arguments.PermissionUpdate) (models.Permission, error)
- type IRepository
- func (_m *IRepository) Count(ctx context.Context, params arguments.PermissionCount) (int64, error)
- func (_m *IRepository) Delete(ctx context.Context, param arguments.PermissionDelete) (int64, error)
- func (_m *IRepository) GetByID(ctx context.Context, param arguments.PermissionGetByID) (models.Permission, error)
- func (_m *IRepository) GetByIDs(ctx context.Context, param arguments.PermissionGetByIDs) ([]models.Permission, error)
- func (_m *IRepository) Insert(ctx context.Context, params arguments.PermissionInsert) (models.Permission, error)
- func (_m *IRepository) List(ctx context.Context, params arguments.PermissionList) ([]models.Permission, error)
- func (_m *IRepository) Update(ctx context.Context, params arguments.PermissionUpdate) (models.Permission, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDatabase ¶
IDatabase is an autogenerated mock type for the IDatabase type
type IHandler ¶
IHandler is an autogenerated mock type for the IHandler type
func (*IHandler) GetByID ¶
func (_m *IHandler) GetByID(ctx context.Context, param arguments.PermissionGetByID) (models.Permission, error)
GetByID provides a mock function with given fields: ctx, param
func (*IHandler) GetByIDs ¶
func (_m *IHandler) GetByIDs(ctx context.Context, param arguments.PermissionGetByIDs) ([]models.Permission, error)
GetByIDs provides a mock function with given fields: ctx, param
func (*IHandler) Insert ¶
func (_m *IHandler) Insert(ctx context.Context, params arguments.PermissionInsert) (models.Permission, error)
Insert provides a mock function with given fields: ctx, params
func (*IHandler) List ¶
func (_m *IHandler) List(ctx context.Context, params arguments.PermissionList) ([]models.Permission, error)
List provides a mock function with given fields: ctx, params
func (*IHandler) Update ¶
func (_m *IHandler) Update(ctx context.Context, params arguments.PermissionUpdate) (models.Permission, error)
Update provides a mock function with given fields: ctx, params
type IRepository ¶
IRepository is an autogenerated mock type for the IRepository type
func (*IRepository) Count ¶
func (_m *IRepository) Count(ctx context.Context, params arguments.PermissionCount) (int64, error)
Count provides a mock function with given fields: ctx, params
func (*IRepository) Delete ¶
func (_m *IRepository) Delete(ctx context.Context, param arguments.PermissionDelete) (int64, error)
Delete provides a mock function with given fields: ctx, param
func (*IRepository) GetByID ¶
func (_m *IRepository) GetByID(ctx context.Context, param arguments.PermissionGetByID) (models.Permission, error)
GetByID provides a mock function with given fields: ctx, param
func (*IRepository) GetByIDs ¶
func (_m *IRepository) GetByIDs(ctx context.Context, param arguments.PermissionGetByIDs) ([]models.Permission, error)
GetByIDs provides a mock function with given fields: ctx, param
func (*IRepository) Insert ¶
func (_m *IRepository) Insert(ctx context.Context, params arguments.PermissionInsert) (models.Permission, error)
Insert provides a mock function with given fields: ctx, params
func (*IRepository) List ¶
func (_m *IRepository) List(ctx context.Context, params arguments.PermissionList) ([]models.Permission, error)
List provides a mock function with given fields: ctx, params
func (*IRepository) Update ¶
func (_m *IRepository) Update(ctx context.Context, params arguments.PermissionUpdate) (models.Permission, error)
Update provides a mock function with given fields: ctx, params