Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockUserRepository
- func (m *MockUserRepository) Authentication(ctx context.Context) (*domain.User, error)
- func (m *MockUserRepository) Create(ctx context.Context, u *domain.User) error
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) GetUIDByEmail(ctx context.Context, email string) (string, error)
- func (m *MockUserRepository) Update(ctx context.Context, u *domain.User) error
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) Authentication(ctx interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Create(ctx, u interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetUIDByEmail(ctx, email interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Update(ctx, u interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance
func (*MockUserRepository) Authentication ¶
Authentication mocks base method
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserRepository) GetUIDByEmail ¶
GetUIDByEmail mocks base method
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository
func (*MockUserRepositoryMockRecorder) Authentication ¶
func (mr *MockUserRepositoryMockRecorder) Authentication(ctx interface{}) *gomock.Call
Authentication indicates an expected call of Authentication
func (*MockUserRepositoryMockRecorder) Create ¶
func (mr *MockUserRepositoryMockRecorder) Create(ctx, u interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserRepositoryMockRecorder) GetUIDByEmail ¶
func (mr *MockUserRepositoryMockRecorder) GetUIDByEmail(ctx, email interface{}) *gomock.Call
GetUIDByEmail indicates an expected call of GetUIDByEmail
func (*MockUserRepositoryMockRecorder) Update ¶
func (mr *MockUserRepositoryMockRecorder) Update(ctx, u interface{}) *gomock.Call
Update indicates an expected call of Update
Click to show internal directories.
Click to hide internal directories.