Documentation ¶
Overview ¶
Package mock_domain is a generated GoMock package.
Package mock_domain is a generated GoMock package.
Index ¶
- type MockMeetupRepository
- func (m_2 *MockMeetupRepository) CreateMeetup(m *domain.Meetup) error
- func (m *MockMeetupRepository) DeleteMeetup(id string) error
- func (m *MockMeetupRepository) EXPECT() *MockMeetupRepositoryMockRecorder
- func (m *MockMeetupRepository) GetMeetupByID(id string) (*domain.Meetup, error)
- func (m_2 *MockMeetupRepository) UpdateMeetup(m *domain.Meetup) error
- type MockMeetupRepositoryMockRecorder
- func (mr *MockMeetupRepositoryMockRecorder) CreateMeetup(m interface{}) *gomock.Call
- func (mr *MockMeetupRepositoryMockRecorder) DeleteMeetup(id interface{}) *gomock.Call
- func (mr *MockMeetupRepositoryMockRecorder) GetMeetupByID(id interface{}) *gomock.Call
- func (mr *MockMeetupRepositoryMockRecorder) UpdateMeetup(m interface{}) *gomock.Call
- type MockMeetupService
- func (m *MockMeetupService) CreateMeetup(uid string, dto *domain.CreateMeetupDTO) (*domain.Meetup, error)
- func (m *MockMeetupService) DeleteMeetup(uid, id string) error
- func (m *MockMeetupService) EXPECT() *MockMeetupServiceMockRecorder
- func (m *MockMeetupService) GetMeetupByID(uid, id string) (*domain.Meetup, error)
- func (m *MockMeetupService) UpdateMeetup(uid string, dto *domain.UpdateMeetupDTO) (*domain.Meetup, error)
- type MockMeetupServiceMockRecorder
- func (mr *MockMeetupServiceMockRecorder) CreateMeetup(uid, dto interface{}) *gomock.Call
- func (mr *MockMeetupServiceMockRecorder) DeleteMeetup(uid, id interface{}) *gomock.Call
- func (mr *MockMeetupServiceMockRecorder) GetMeetupByID(uid, id interface{}) *gomock.Call
- func (mr *MockMeetupServiceMockRecorder) UpdateMeetup(uid, dto interface{}) *gomock.Call
- type MockUserRepository
- func (m *MockUserRepository) CreateUser(u *domain.User) error
- func (m *MockUserRepository) DeleteUser(id string) error
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) GetUserByEmail(email string) (*domain.User, error)
- func (m *MockUserRepository) GetUserByID(id string) (*domain.User, error)
- func (m *MockUserRepository) GetUserByUsername(username string) (*domain.User, error)
- func (m *MockUserRepository) SearchUsersByName(name string) ([]*domain.User, error)
- func (m *MockUserRepository) SearchUsersByUsername(username string) ([]*domain.User, error)
- func (m *MockUserRepository) UpdateUser(u *domain.User) error
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) CreateUser(u interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) DeleteUser(id interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetUserByEmail(email interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetUserByID(id interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetUserByUsername(username interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) SearchUsersByName(name interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) SearchUsersByUsername(username interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) UpdateUser(u interface{}) *gomock.Call
- type MockUserService
- func (m *MockUserService) CreateUser(uid string, dto *domain.CreateUserDTO) (*domain.User, error)
- func (m *MockUserService) DeleteUser(uid string) error
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) GetUserByID(uid string) (*domain.User, error)
- func (m *MockUserService) UpdateUser(uid string, dto *domain.UpdateUserDTO) (*domain.User, error)
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) CreateUser(uid, dto interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) DeleteUser(uid interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetUserByID(uid interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateUser(uid, dto interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMeetupRepository ¶
type MockMeetupRepository struct {
// contains filtered or unexported fields
}
MockMeetupRepository is a mock of MeetupRepository interface.
func NewMockMeetupRepository ¶
func NewMockMeetupRepository(ctrl *gomock.Controller) *MockMeetupRepository
NewMockMeetupRepository creates a new mock instance.
func (*MockMeetupRepository) CreateMeetup ¶
func (m_2 *MockMeetupRepository) CreateMeetup(m *domain.Meetup) error
CreateMeetup mocks base method.
func (*MockMeetupRepository) DeleteMeetup ¶
func (m *MockMeetupRepository) DeleteMeetup(id string) error
DeleteMeetup mocks base method.
func (*MockMeetupRepository) EXPECT ¶
func (m *MockMeetupRepository) EXPECT() *MockMeetupRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMeetupRepository) GetMeetupByID ¶
func (m *MockMeetupRepository) GetMeetupByID(id string) (*domain.Meetup, error)
GetMeetupByID mocks base method.
func (*MockMeetupRepository) UpdateMeetup ¶
func (m_2 *MockMeetupRepository) UpdateMeetup(m *domain.Meetup) error
UpdateMeetup mocks base method.
type MockMeetupRepositoryMockRecorder ¶
type MockMeetupRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMeetupRepositoryMockRecorder is the mock recorder for MockMeetupRepository.
func (*MockMeetupRepositoryMockRecorder) CreateMeetup ¶
func (mr *MockMeetupRepositoryMockRecorder) CreateMeetup(m interface{}) *gomock.Call
CreateMeetup indicates an expected call of CreateMeetup.
func (*MockMeetupRepositoryMockRecorder) DeleteMeetup ¶
func (mr *MockMeetupRepositoryMockRecorder) DeleteMeetup(id interface{}) *gomock.Call
DeleteMeetup indicates an expected call of DeleteMeetup.
func (*MockMeetupRepositoryMockRecorder) GetMeetupByID ¶
func (mr *MockMeetupRepositoryMockRecorder) GetMeetupByID(id interface{}) *gomock.Call
GetMeetupByID indicates an expected call of GetMeetupByID.
func (*MockMeetupRepositoryMockRecorder) UpdateMeetup ¶
func (mr *MockMeetupRepositoryMockRecorder) UpdateMeetup(m interface{}) *gomock.Call
UpdateMeetup indicates an expected call of UpdateMeetup.
type MockMeetupService ¶
type MockMeetupService struct {
// contains filtered or unexported fields
}
MockMeetupService is a mock of MeetupService interface.
func NewMockMeetupService ¶
func NewMockMeetupService(ctrl *gomock.Controller) *MockMeetupService
NewMockMeetupService creates a new mock instance.
func (*MockMeetupService) CreateMeetup ¶
func (m *MockMeetupService) CreateMeetup(uid string, dto *domain.CreateMeetupDTO) (*domain.Meetup, error)
CreateMeetup mocks base method.
func (*MockMeetupService) DeleteMeetup ¶
func (m *MockMeetupService) DeleteMeetup(uid, id string) error
DeleteMeetup mocks base method.
func (*MockMeetupService) EXPECT ¶
func (m *MockMeetupService) EXPECT() *MockMeetupServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMeetupService) GetMeetupByID ¶
func (m *MockMeetupService) GetMeetupByID(uid, id string) (*domain.Meetup, error)
GetMeetupByID mocks base method.
func (*MockMeetupService) UpdateMeetup ¶
func (m *MockMeetupService) UpdateMeetup(uid string, dto *domain.UpdateMeetupDTO) (*domain.Meetup, error)
UpdateMeetup mocks base method.
type MockMeetupServiceMockRecorder ¶
type MockMeetupServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMeetupServiceMockRecorder is the mock recorder for MockMeetupService.
func (*MockMeetupServiceMockRecorder) CreateMeetup ¶
func (mr *MockMeetupServiceMockRecorder) CreateMeetup(uid, dto interface{}) *gomock.Call
CreateMeetup indicates an expected call of CreateMeetup.
func (*MockMeetupServiceMockRecorder) DeleteMeetup ¶
func (mr *MockMeetupServiceMockRecorder) DeleteMeetup(uid, id interface{}) *gomock.Call
DeleteMeetup indicates an expected call of DeleteMeetup.
func (*MockMeetupServiceMockRecorder) GetMeetupByID ¶
func (mr *MockMeetupServiceMockRecorder) GetMeetupByID(uid, id interface{}) *gomock.Call
GetMeetupByID indicates an expected call of GetMeetupByID.
func (*MockMeetupServiceMockRecorder) UpdateMeetup ¶
func (mr *MockMeetupServiceMockRecorder) UpdateMeetup(uid, dto interface{}) *gomock.Call
UpdateMeetup indicates an expected call of UpdateMeetup.
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) CreateUser ¶
func (m *MockUserRepository) CreateUser(u *domain.User) error
CreateUser mocks base method.
func (*MockUserRepository) DeleteUser ¶
func (m *MockUserRepository) DeleteUser(id string) error
DeleteUser 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) GetUserByEmail ¶
func (m *MockUserRepository) GetUserByEmail(email string) (*domain.User, error)
GetUserByEmail mocks base method.
func (*MockUserRepository) GetUserByID ¶
func (m *MockUserRepository) GetUserByID(id string) (*domain.User, error)
GetUserByID mocks base method.
func (*MockUserRepository) GetUserByUsername ¶
func (m *MockUserRepository) GetUserByUsername(username string) (*domain.User, error)
GetUserByUsername mocks base method.
func (*MockUserRepository) SearchUsersByName ¶
func (m *MockUserRepository) SearchUsersByName(name string) ([]*domain.User, error)
SearchUsersByName mocks base method.
func (*MockUserRepository) SearchUsersByUsername ¶
func (m *MockUserRepository) SearchUsersByUsername(username string) ([]*domain.User, error)
SearchUsersByUsername mocks base method.
func (*MockUserRepository) UpdateUser ¶
func (m *MockUserRepository) UpdateUser(u *domain.User) error
UpdateUser mocks base method.
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.
func (*MockUserRepositoryMockRecorder) CreateUser ¶
func (mr *MockUserRepositoryMockRecorder) CreateUser(u interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserRepositoryMockRecorder) DeleteUser ¶
func (mr *MockUserRepositoryMockRecorder) DeleteUser(id interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUserRepositoryMockRecorder) GetUserByEmail ¶
func (mr *MockUserRepositoryMockRecorder) GetUserByEmail(email interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockUserRepositoryMockRecorder) GetUserByID ¶
func (mr *MockUserRepositoryMockRecorder) GetUserByID(id interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockUserRepositoryMockRecorder) GetUserByUsername ¶
func (mr *MockUserRepositoryMockRecorder) GetUserByUsername(username interface{}) *gomock.Call
GetUserByUsername indicates an expected call of GetUserByUsername.
func (*MockUserRepositoryMockRecorder) SearchUsersByName ¶
func (mr *MockUserRepositoryMockRecorder) SearchUsersByName(name interface{}) *gomock.Call
SearchUsersByName indicates an expected call of SearchUsersByName.
func (*MockUserRepositoryMockRecorder) SearchUsersByUsername ¶
func (mr *MockUserRepositoryMockRecorder) SearchUsersByUsername(username interface{}) *gomock.Call
SearchUsersByUsername indicates an expected call of SearchUsersByUsername.
func (*MockUserRepositoryMockRecorder) UpdateUser ¶
func (mr *MockUserRepositoryMockRecorder) UpdateUser(u interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) CreateUser ¶
func (m *MockUserService) CreateUser(uid string, dto *domain.CreateUserDTO) (*domain.User, error)
CreateUser mocks base method.
func (*MockUserService) DeleteUser ¶
func (m *MockUserService) DeleteUser(uid string) error
DeleteUser mocks base method.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) GetUserByID ¶
func (m *MockUserService) GetUserByID(uid string) (*domain.User, error)
GetUserByID mocks base method.
func (*MockUserService) UpdateUser ¶
func (m *MockUserService) UpdateUser(uid string, dto *domain.UpdateUserDTO) (*domain.User, error)
UpdateUser mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) CreateUser ¶
func (mr *MockUserServiceMockRecorder) CreateUser(uid, dto interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserServiceMockRecorder) DeleteUser ¶
func (mr *MockUserServiceMockRecorder) DeleteUser(uid interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUserServiceMockRecorder) GetUserByID ¶
func (mr *MockUserServiceMockRecorder) GetUserByID(uid interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockUserServiceMockRecorder) UpdateUser ¶
func (mr *MockUserServiceMockRecorder) UpdateUser(uid, dto interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.