Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Delete ¶
func (_m *Repository) Delete(ur *models.UserRole) error
Delete provides a mock function with given fields: ur
func (*Repository) FindAll ¶
func (_m *Repository) FindAll() ([]models.UserRole, error)
FindAll provides a mock function with given fields:
func (*Repository) FindUserRoleByUserIdAndRoleId ¶
func (_m *Repository) FindUserRoleByUserIdAndRoleId(userId int, roleId int) (models.UserRole, error)
FindUserRoleByUserIdAndRoleId provides a mock function with given fields: userId, roleId
Click to show internal directories.
Click to hide internal directories.